cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Wallez <sylv...@apache.org>
Subject Re: How to access sitemap parameter within JavaFlow?
Date Thu, 04 Nov 2004 21:11:52 GMT
Stephan Coboos wrote:

> Hello,
>
> I had asked this question in the users list before but got no answer. 
> So I will try it here. I need to access a sitemap parameter within a 
> JavaFlow class. Is this possible?
>
> <map:call function="myJavaFlowMethod">
>   <map:parameter name="foo" value="bar"/>
> </map:call>
>
> How can I access the parameter "foo" within the JavaFlow?


Well, it's as simple as cocoon.parameters["foo"] !!

Sylvain

-- 
Sylvain Wallez                                  Anyware Technologies
http://www.apache.org/~sylvain           http://www.anyware-tech.com
{ XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }


Mime
View raw message