cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cyril So" <>
Subject RE: Cookie TagLib?
Date Wed, 26 Jul 2000 03:02:28 GMT

-----Original Message-----
[]On Behalf
Of Donald Ball
Sent: Wednesday, July 26, 2000 10:51 AM
To: ''
Subject: RE: Cookie TagLib?

On Tue, 25 Jul 2000, Marcelo F. Ochoa wrote:

> > Gang -
> >
> > Does anyone have any pointers or docs on using the XSP Cookie taglib?
> > 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>
> i this you need to do this:
> <cookie:create name="User">
>  <value><request:get-remote-user/></value>
> </cookie:create>

actually, i think you'll need to do this:

 <cookie:create name="User">

that being said, i think the cookie logicsheet could really use some help
- it seems that many of the methods operate not on any particular input
cookie, but rather a specially named variable - 'cookie'. for instance:

  <xsl:template match="cookie:set-comment">
    <xsl:variable name="purpose">
        <xsl:when test="@purpose">"<xsl:value-of
        <xsl:when test="purpose">
          <xsl:call-template name="get-nested-content">
            <xsl:with-param name="content" select="purpose"/>

          <xsl:copy-of select="$purpose"/>

Ricardo, could you perhaps explain your reasoning here? Maybe something
more subtle is going on, but I don't think so...

- donald

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message