cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joerg Heinicke <joerg.heini...@gmx.de>
Subject Re: How to inject the result of an action into a generator
Date Tue, 18 Mar 2008 03:14:01 GMT
On 17.03.2008 19:48, shai200 wrote:

>>>From the first glance at the Cocoon Core 2.2 documentation
> (http://cocoon.apache.org/2.2/core-modules/core/2.2/1270_1_1.html), it is
> unclear whether a String result of an Action (or perhaps a value passed
> through the Map and Action returns) can be used to inject as the XML content
> generated by the generator, down the pipeline.
> 
> If this is possible, how would I go about it?

Yes, it is:

<map:act>
   <map:generate>
     <map:parameter name="param" value="{paramAction}"/>
   </map:generate>
</map:act>

'paramAction' has to be an entry in the map returned by the action.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message