Sylvain Wallez wrote:
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"] !!

I guess he is after JAVAflow ;-)

IIRC the parameters are set inside the continuation context.
If you inherit from AbstractContinuable you should be able
to just use getParameters().

HTH

cheers
--
Torsten

Reply via email to