cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zack Angelo" <z...@nostromocorp.com>
Subject xsp-session ns calls element creation funcs?
Date Wed, 15 May 2002 00:20:50 GMT
> C2 doesn't seem to be behaving as expected...my code looks just like
the
> examples. Any ideas? I'm sure it's something obvious.
> 
> Okay, so apparently this:
> 
>   String userID = <xsp-session:get-attribute name="malin-uid"/>;
> 
> Generates into this (and, obviously, generates some errors):
> 
> String userID =
>     xspAttr.addAttribute(
>       "",
>       "name",
>       "name",
>       "CDATA",
>       "malin-uid"
>     );
> 
> 
>     this.contentHandler.startElement(
>       "http://apache.org/session/2.0",
>       "get-attribute",
>       "xsp-session:get-attribute",
>       xspAttr
>     );
>     xspAttr.clear();
> 
> 
> 
>     this.contentHandler.endElement(
>       "http://apache.org/session/2.0",
>       "get-attribute",
>       "xsp-session:get-attribute"
>     );
> 
>     ;
> 
> TIA,
> Zack


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message