cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From solprovi...@apache.org
Subject Re: How to inject the result of an action into a generator
Date Tue, 25 Mar 2008 18:13:34 GMT
On 3/25/08, shai200 <shai200@gmail.com> wrote:
>  And my sitemap entry is:
>         <map:match pattern="xmlaction">
>                         <map:act type="xml-injection">
>                                  <map:generate>
>                                      <map:parameter name="param" value="{paramAction}"/>
>                                 </map:generate>
>                         </map:act>
>                         <map:transform src="demo/welcome.xslt"/>
>                         <map:serialize type="xhtml"/>
>                 </map:match>

This code would be illegal if the Action does not return true because
the pipeline would have no Generator.  Move the code from the Action
into a custom Generator.

solprovider

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


Mime
View raw message