cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Haul <>
Subject Re: Form Validation
Date Mon, 08 Oct 2001 09:46:06 GMT
On 05.Oct.2001 -- 03:19 PM, Lakshmi Anantharaman wrote:
> Thanks Greg 
>  I assume by default on submit , the evaluvation is carried as per ERROR.xsp
> , and this is why it is not part of <map:act>    tags 
>     <map:redirect-to resource="dynamic-page"
> target="docs/samples/formvalidation/ERROR"/>
>  This is the standard way I suppose !?!
> Lakshmi  

If the action fails to validate the input, it returns "null" and all
descendant::* tags are skipped. Thus the error pipeline is used. If it
doesn't fail, descendant::* tags are considered. But since redirect
never returns, the error pipeline is never reached.

For a in depth explanation see the "Actions" document.


C h r i s t i a n       H a u l
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

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