struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mick.Knut...@wellsfargo.com
Subject RE: validator.xml usage
Date Tue, 01 Jun 2004 21:05:55 GMT
Please see my last email. I have everything you mentioned....

-----Original Message-----
From: Matthias Wessendorf [mailto:mailings@matthias-wessendorf.de]
Sent: Tuesday, June 01, 2004 1:59 PM
To: 'Struts Users Mailing List'
Subject: RE: validator.xml usage


Did you got i work?

DynaValidatorActionForm is for PATH-attribute of
<action path="/Action"
            name="FormToBeValidated"
            validate="true"             
            input="somepage.jsp" 
/>

so edit /Action in validation.xml like:

validation.xml
==============
        <!--
        This is the validator for the prouct selection page.
        -->
        <form name="/Action" ...

the usage is for multipage-form (form-wizzard)

DynaValidatorForm is for validating a hole FormBean in one submit.

then enter <form name="FormToBeValidated" ...
in validatin.xml



hope it helps

Cheers Matze,
 

> -----Original Message-----
> From: Mick.Knutson@wellsfargo.com 
> [mailto:Mick.Knutson@wellsfargo.com] 
> Sent: Tuesday, June 01, 2004 10:29 PM
> To: user@struts.apache.org
> Subject: RE: validator.xml usage
> 
> 
> I tried to call form.validate(), but there was not any 
> validation that was performed.
> 
> Right now I have DynaValidationActionForm's.
> 
> 
> 
> -----Original Message-----
> From: Rodrigo Oliveira [mailto:rodrigo.struts@icorp.com.br]
> Sent: Tuesday, June 01, 2004 1:13 PM
> To: Struts Users Mailing List
> Subject: Re: validator.xml usage
> 
> 
> The validation.xml you put the rules for client and server 
> validation. The struts validator validate your forms based on 
> same validation rules.
> 
> []´s
> 
> Rodrigo Oliveira
> rodrigo.struts@icorp.com.br
> 
> 
> ----- Original Message ----- 
> From: <Mick.Knutson@wellsfargo.com>
> To: <user@struts.apache.org>
> Sent: Tuesday, June 01, 2004 5:15 PM
> Subject: validator.xml usage
> 
> 
> > Is the validator.xml just for client-side validation? Or also for 
> > server-side validation
> >
> >
> > ---
> > > 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

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


Mime
View raw message