cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (Mark Washeim)
Subject Re: Cookie TagLib?
Date Tue, 25 Jul 2000 17:54:45 GMT
on 25/7/00 7:42 pm, Kevin Sonney at wrote:

> Well, the users list is not being helpful, so I'll ask here :
> -----------------------
> Gang -
> Does anyone have any pointers or docs on using the XSP Cookie taglib? I've
> read the source, but that's not helping too much for waht I want to do.
> Here's what I'd *LIKE* to do :
> <cookie:create name="User"><request:get-remote-user/></cookie:create>
> That, of course fails. So, the question is, how could I do this :
> <cookie:create name="User" value="<request:get-remote-user/>" />
> without resorting to putting Java in my XML doc.
> Am I missing something? Did I miss a discussion in the archives? Have I
> completely misunderstood how to use the taglibs? *grin*~

I'd suggest using nested <xsp:attribute> tags:

<cookie:create name="User">
    <xsp:attribute name="value">

Mark (Poetaster) Washeim

'On the linen wrappings of certain mummified remains
found near the Etrurian coast are invaluable writings
that await translation.

Quem colorem habet sapientia?'

Evan S. Connell


View raw message