Antonio Gallardo Rivera wrote:

>I have the followin pipeline:
>
><map:match pattern="*-*.html">
>       <map:act type="auth-protect">
>               <map:parameter name="handler" value="agshandler"/>
>
>               <map:match pattern="*-*.html">
>                       <map:act set="process">
>                               <map:parameter name="descriptor"
>                                       value="docs/{1}-form.xml"/>
>                               <!-- if success -->
>*                              <map:generate src="docs/{1}-confirm.xsp"
>

http://xml.apache.org/cocoon/faq/faq-sitemap.html#faq-7

Vadim


>                                       type="serverpages"/>
>                               <map:transform src="stylesheets/agssa.xsl"/>
>                               <map:serialize/>
>                       </map:act> <!-- if fail -->
>                       <map:generate src="docs/{1}-{2}.xsp" type="serverpages"/>
>                       <map:transform src="stylesheets/agssa.xsl"/>
>                       <map:serialize/>
>               </map:match>
>        </map:act>
></map:match>
>
>If I call cat-create.html it works fine!
>But he cannot call cat-confirm.html in the error.log cocoon writes:
>
>cannot find the file: "-confirm.html"
>
>Why?
>
>I am using Cocoon 2.1, Tomcat 4.1.9 and Java 1.4.1
>BTW, the authentication works fine.
>
>Many thanks in advance :)
>
>Antonio Gallardo
>  
>


---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to