You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Alexandre Victoor <al...@fr.adp.com> on 2003/06/05 18:06:36 UTC
Re: forwarding paremeter to xsp
Hi,
you can pass the parameter explicitely in the sitemap :
<map:match pattern="**.info">
<map:generate type="serverpages" src="process.xsp">
<map:parameter name="infoparam" value="{1}"/>
</map:generate>
<map:serialixe type="xml"/>
</map:match>
and then you can use it process.xsp :
<xsp:expr>parameters.getParameter("infoparam","default value")</xsp:expr>
Hope it helps
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org
For additional commands, e-mail: cocoon-users-help@xml.apache.org