struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From João Vieira da Luz <Joao....@gmail.com>
Subject Re: Specifying validation field per Form, only way????
Date Sun, 12 Sep 2004 22:08:30 GMT
Hi,

yes for the first question.

no for the second. 
Probably, you can implement a base class for that forms that contain
name field and implement the validation for that field on validate
method.

Hope this help you,
                João

On Sat, 11 Sep 2004 15:01:23 -0300 (ART), Leandro Melo
<ltcmelo_java@yahoo.com.br> wrote:
> Hi,
> do i need to specify validation fields per form in
> validation.xml???
> 
> Suppose the field "name", for example, many form beans
> may use this field. Is there a way i can specify a
> global validation for "name", instead of specifying it
> for all form beans that have the field name???
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
> 
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message