cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gregory Steuck <g...@buildpoint.com>
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
element.

     <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:act>
      <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.

   </map:match>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.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