struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Leland <>
Subject Re: Custom Validator
Date Thu, 08 May 2003 23:50:43 GMT
Melonie Brown wrote:

>I'm attempting to write a custom validator similar to
>the example at
>It shows writing a validation method to compare two
>field values but it uses a method that doesn't exist
>in the 1.0.2 commons validator -
>              request,va,field));

This became o.a.s.validator.Resources()

However ValidatorUtil.getActionError() calls 
so the example should still work.
FYI, I have updated the example to use Recources.getActionError()

>The OnJava article
>uses the deprecated StrutsValidator. 
became o.a.s.validator.FieldChecks

Again, this should still work since the methods call the correct 
FieldChecks method.

>Can someone point me to a working example of a custom validation?
>Do you Yahoo!?
>The New Yahoo! Search - Faster. Easier. Bingo.
>To unsubscribe, e-mail:
>For additional commands, e-mail:

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

View raw message