You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Antonio Gallardo Rivera <ag...@agsoftware.dnsalias.com> on 2002/09/06 10:31:03 UTC
What is bad with this pipeline in 2.1?
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"
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>
Re: What is bad with this pipeline in 2.1?
Posted by Vadim Gritsenko <va...@verizon.net>.
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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>