Thanks for clarifying this.

Greetings,
Greg


2013/6/20 Thorsten Scherler <scher...@gmail.com>

>  On 06/20/2013 09:15 AM, Francesco Chicchiriccò wrote:
>
> On 20/06/2013 09:07, Francesco Chicchiriccò wrote:
>
> 4. actions in sitemap.xmap ?
>
> e.g.
> <map:actions>
>                         <map:action logger="sitemap.action.request"
> name="request" src="org.apache.cocoon.acting.RequestParamAction"/>
>
>
> No.
>
>
> It looks I might be wrong [1]: Thorsten, could you provide some more
> information here?
>
> Thanks.
>
> [1] https://issues.apache.org/jira/browse/COCOON3-94
>
>
> Action are working fine in c3 with some limitations
> "COCOON3-94 Bring back old school way of actions back to c3. Although it
> is not 100% like we had in c2.x since the body of an action ATM is ignore."
> http://svn.apache.org/viewvc?view=revision&revision=1304459
>
>
> http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/META-INF/cocoon/spring/cocoon-sample-sitemap-components.xml?view=markup
>
>
> http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-sample/src/main/resources/COB-INF/sitemap.xmap?view=markup
>   518 <map:pipeline>  519 <map:match
> pattern="error-handling/custom-error">  520 <map:act
> type="error-throwing" />  521 <map:generate src="sax-pipeline/simple.xml"
> />  522 <map:serialize type="xml" />  523 </map:match>  524 </map:pipeline>
>  525
>   526 <map:pipeline>  527 <map:match
> equals="error-handling/custom-error-per-pipeline-error-handling">  528 
> <map:act
> type="error-throwing" />  529 <map:generate src="sax-pipeline/simple.xml"
> />  530 <map:serialize type="xml" />  531 </map:match>  532 
> <map:handle-errors>
>  533 <map:generate src="error-handling/501.xml" />  534 <map:serialize
> type="xhtml" status-code="501" />  535 </map:handle-errors>  536
> </map:pipeline>
> However you can pass parameter though:
> <map:act type="http">
>   <map:parameter name="Pragma" value="no-cache"/>
>   <map:parameter name="Cache-Control" value="no-cache"/>
> </map:act>
>
> HTH
>
> --
> Thorsten Scherler <scherler.at.gmail.com>
> codeBusters S.L. - web based systems
> <consulting, training and solutions>
> http://www.codebusters.es/
>
>

Reply via email to