cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mato Mira, Fernando" <>
Subject RE: Customization
Date Wed, 28 May 2003 13:38:01 GMT
I am trying to set a session variable to the value of a match variable (the
customization name)
and I am finding some difficulties:

1. There's no way to set a session variable from the sitemap.

So I use XSP instead of a raw XHTML to set the variable there. I now
need to pass a parameter to the XSP. So I do this:

      <map:match pattern="*/login">
        <map:parameter name="customization" value="{1}"/>
        <map:generate type="serverpages" src="cocoon:/{1}/login.xsp"/>
        <map:serialize type="html"/>

I get:

Error while evaluating '{1}': not so many levels


View raw message