hi fernando, assuming the snippet is from your actual sitemap; put that <map:parameter> inside the <map:generate> ;-)
> -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] > Auftrag von Mato Mira, Fernando > Gesendet: Mittwoch, 28. Mai 2003 15:38 > An: '[EMAIL PROTECTED]' > Betreff: RE: Customization > > > 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