struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Winterfeldt <dwinterfe...@yahoo.com>
Subject Re: Difference between DynaValidatorActionForm and DynaValidatorForm
Date Thu, 18 Jul 2002 15:51:58 GMT
The key used to look up a set of validation rules is
different.

DynaValidatorForm 
------------------
The key passed into the validator is the action
element's 'name' attribute from the struts-config.xml
which should match the form element's name attribute
in the validation.xml.


DynaValidatorActionForm 
------------------------
The key passed into the validator is the action
element's 'path' attribute from the struts-config.xml
which should match the form element's name attribute
in the validation.xml.


David

--- Hemanth Setty <hsetty@buildview.com> wrote:
> Is there any difference between the two classes in
> terms of functionality?
> Why does DynaValidatorActionForm extend
> DynaValidatorForm? Am I missing
> something here??
> -h
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
> <mailto:struts-user-help@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Autos - Get free new car price quotes
http://autos.yahoo.com

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


Mime
View raw message