cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 310026124542-0...@t-online.de (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 kevin@webslingerz.com 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">
        <request:get-remote-user/>
    </xsp:attribute>
</cookie:create>

-- 
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

 



Mime
View raw message