You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Niall Pemberton <ni...@blueyonder.co.uk> on 2004/07/02 14:39:06 UTC
Re: Using 1 Validator definition for 2 different forms?
I believe the new version of validator has inheritance - so in the
validation.xml you can inherit one form's validation from another - I think
theres now an "extends" attribute - like tiles.
Niall
----- Original Message -----
From: <Mi...@wellsfargo.com>
To: <us...@struts.apache.org>
Sent: Tuesday, June 29, 2004 8:27 PM
Subject: RE: Using 1 Validator definition for 2 different forms?
> No, I mean I have a user1Form, and user2Form.
> They are identical forms as we are using Tiles to display them.
>
>
> -----Original Message-----
> From: Jim Barrows [mailto:jbarrows@sssc.com]
> Sent: Tuesday, June 29, 2004 12:21 PM
> To: Struts Users Mailing List
> Subject: RE: Using 1 Validator definition for 2 different forms?
>
>
> If you're talking about masks, then you can use globals. You could also
> create your own custom validator, iirc 1.2 will have some inheritance
> features, but not sure what scope yet since I'm not using 1.2.
>
>
> > -----Original Message-----
> > From: Mick.Knutson@wellsfargo.com [mailto:Mick.Knutson@wellsfargo.com]
> > Sent: Tuesday, June 29, 2004 12:12 PM
> > To: user@struts.apache.org
> > Subject: Using 1 Validator definition for 2 different forms?
> >
> >
> > How can I Use 1 Validator definition for 2 different forms?
> >
> >
> > ---
> > > Thanks...
> > > Mick Knutson
> > >
> > > 525 Market Street, SF, CA 94103
> > > (415) 222-1020
> > > Mick.Knutson@WellsFargo.com
> > > MAC A0103-223
> > ---
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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
>
> ---------------------------------------------------------------------
> 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