Kelly.Graus wrote:
>
> Thanks for the reply! I'm using field validators, so I did this:
>
>
>
> The passwords do not match!
>
>
> Which works perfectly. Thanks!
>
> Kelly
>
Actually, it should be:
The passwords do not match!
--
View this
Guillaume Bilodeau wrote:
>
> Sure, you can use an ExpressionValidator annotation with an OGNL
> expression like this:
>
> @ExpressionValidator(expression = "password1.equals(password2)", ...)
>
> Cheers,
> GB
>
Thanks for the reply! I'm using field validators, so I did this:
--- "Kelly.Graus" <[EMAIL PROTECTED]> wrote:
> Does struts 2 have a built in validator that will allow me to make sure two
> fields match (ie, two password fields). From looking around, it seems that
> struts 1 had validatewhen which could be used, but I haven't been able to
> find anything for st
Sure, you can use an ExpressionValidator annotation with an OGNL expression
like this:
@ExpressionValidator(expression = "password1.equals(password2)", ...)
Cheers,
GB
Kelly.Graus wrote:
>
> Hello,
>
> Does struts 2 have a built in validator that will allow me to make sure
> two fields match
4 matches
Mail list logo