Hello, I use the following and the redirect-to is always executed, why ?
I directly call this "foo" uri. The returned descriptor is ok : parameters
with name and nullable attribute set (but not "type", should I set it ? How
can I say "ignore type attribute when validating ?").
<map:match pattern="foo">
<map:act type="form-validator">
<map:parameter name="descriptor"
value="cocoon://getdescriptor/foo2"/>
<map:parameter name="constraint-set" value="default"/>
<!-- ok -->
<map:redirect-to uri="http://www.google.fr"/>
</map:act>
<map:generate src="xml/test.xml"/>
<map:transform src="xsl/copy.xsl"/>
<map:serialize type="xml"/>
</map:match>
Thanks !
Babs
---------------------------------------------------------------------
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]>