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"/>
</map:match>
I get:
Error while evaluating '{1}': not so many levels
Thanks