<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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to