Hi.
Exactly boy :).

2006/6/4, Scott Van Wart <[EMAIL PROTECTED]>:

Jakub Milkiewicz wrote:
> If you are thinking of creating custom validator remember that even if
> your
> custom validator fails it doesn't mean that your form is invalid! You
> must
> remember to add ActionError/ActionMessage to ActionErrors/ActionMessages
> passed as a parameter to yor validator.

Wow, thanks for pointing this out, I hadn't realized that.  So if I want
to stop processing validators in the chain, but still consider the form
valid, I just return Boolean.FALSE in my plugin validator, but don't put
anything into the passed ActionMessages... thanks for the tips!

- Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to