cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: Howto call a action from the flow
Date Tue, 29 Apr 2003 20:35:40 GMT
Thorsten Mauch wrote:
> Hi 
> I want to call a cocoon action from a flow. I found 
> act(type, src, param) 
> but now is not clear how is hould call it. For the Locale action e.g.
> i expec the type="lcoale".
> But what about the second parameter src and param ?

src is identical to @src on map:act and param is a ECMAscript
equivalent of a map passing parameters like you would do from

<map:act type="foo">
   <map:parameter name="one" value="123"/>
   <map:parameter name="two" value="456"/>

translates to

act("foo", "", {"one":"123","two":"456"})

see also


C h r i s t i a n       H a u l
     fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message