You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by "Hubert Trzewik (Prosystel)" <hu...@prosystel.com.pl> on 2003/12/23 12:07:38 UTC
Passing parameters from sitemap to XSP action - how?
Hello.
Could anybody provide some examples of passing parameters from sitemap, from <map:act ... > element to action written in XSP. I need complete example - what to put in sitemap and what to put in XSP.
--
Hubert Trzewik
Prosystel Sp. z o.o.
hubert.trzewik@prosystel.com.pl
Re: Passing parameters from sitemap to XSP action
- how?
Posted by Michael Wechner <mi...@wyona.com>.
Hubert Trzewik (Prosystel) wrote:
> Hello.
>
> Could anybody provide some examples of passing parameters from sitemap,
> from <map:act ... > element to action written in XSP. I need complete
> example - what to put in sitemap
<map:parameter name="foo" value="bar"/>
and what to put in XSP.
<xsp:logic>
String foo = parameters.getParameter("foo", "default-value");
</xsp:logic>
HTH
Michi
>
> --
> Hubert Trzewik
> Prosystel Sp. z o.o.
> hubert.trzewik@prosystel.com.pl <ma...@prosystel.com.pl>
--
Michael Wechner
Wyona Inc. - Open Source Content Management - Apache Lenya
http://www.wyona.com http://cocoon.apache.org/lenya/
michael.wechner@wyona.com michi@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org