cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo Rivera <agalla...@agsoftware.dnsalias.com>
Subject What is bad with this pipeline in 2.1?
Date Fri, 06 Sep 2002 08:31:03 GMT
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:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message