Thanks, awesome. I am wondering about another option: is it possible to generate a JSP and then from within the JSP call a to a bean to which I'll pass the request object? Or will the JSP not have access to the request?
Joerg Heinicke wrote: > > 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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/How-to-inject-the-result-of-an-action-into-a-generator-tp16108820p16114451.html Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
