cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Steuck <>
Subject Form Validation
Date Fri, 05 Oct 2001 21:27:43 GMT

 <map:match pattern="formvalidation/test">

If your request is for formvalidation/test url, continue inside match

     <map:act type="form-validator">
       	<map:parameter name="descriptor" value="context:///docs/samples/formvalidation/descriptor.xml"/>
        <map:parameter name="validate-set" value="car-reservation"/>

Execute form-validator action with 2 parameters above.

   	 <map:redirect-to resource="dynamic-page" target="docs/samples/formvalidation/OK"/>

If form-validator action succeeded, execute dynamic-page pipeline with
docs/samples/formvalidation/OK target.

      <map:redirect-to resource="dynamic-page" target="docs/samples/formvalidation/ERROR"/>

If form-validator failed, execute dynamic-page pipeline with
docs/samples/formvalidation/ERROR target.


Please check that your question has not already been answered in the
FAQ before posting. <>

To unsubscribe, e-mail: <>
For additional commands, e-mail: <>

View raw message