cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Sonney <ke...@webslingerz.com>
Subject Re: Cookie TagLib?
Date Tue, 25 Jul 2000 18:10:12 GMT
On Tue, 25 Jul 2000, Mark Washeim wrote:
> I'd suggest using nested <xsp:attribute> tags:
> 
> <cookie:create name="User">
>     <xsp:attribute name="value">
>         <request:get-remote-user/>
>     </xsp:attribute>
> </cookie:create>

Causes a compile error - without the value= attribute, the xsp generator
adds a call to :

String.valueOf()

to the generated java file. Hmm. Maybe a bug in the taglib? creating the
whole element set with xsp:element and xsp:attribute. But *THAT* just
results in the cookie:* elements being generated in the final XML doc, and
not processed by XSP.

Bugger. Anyone used this library, and if so, got any examples?

-- 
- Kevin Sonney
  kevin@webslingerZ.com


Mime
View raw message