struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Raghu Kanchustambham <kra...@gmail.com>
Subject Re: validation javascripts
Date Thu, 15 Dec 2005 12:21:48 GMT
>> I'm not sure it matters much which order they're applied in, though,
since all have to pass
>> anyway.

Order does matter... That will decide which *one* of the error messages to
display to the user when one of these tests fail.



On 12/15/05, Laurie Harper <laurie@holoweb.net> wrote:
>
> Deepa Khetan wrote:
> > Is there a way to specify the order of validaions to occur using
> > validation.xml?? I have noticed that "mask" take precedence over
> "minlength"
>
> I'm not sure; maybe the order they're listed will affect the order
> they're applied? I'm not sure it matters much which order they're
> applied in, though, since all have to pass anyway.
>
> L.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message