cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Gerzabek <>
Subject Re: How to access sitemap parameter within JavaFlow?
Date Thu, 04 Nov 2004 21:30:29 GMT
At 20:49 04.11.2004, you wrote:
>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"/>
>How can I access the parameter "foo" within the JavaFlow?

Of course you can do. When you declare a sitemap flow function call like 
above your flow method must be declared like

function myJavaFlowMethod( foo ) {


and a "print( foo );" within this method should show "bar" in your Console.


>Thank you a lot!

View raw message