cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Wechner <michael.wech...@wyona.com>
Subject Re: Passing parameters from sitemap <map:act ... > to XSP action - how?
Date Tue, 23 Dec 2003 11:16:45 GMT
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 <mailto:hubert.trzewik@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


Mime
View raw message