aspose file tools
The moose likes Struts and the fly likes DynaValidatorForm vs DynaValidatorActionForm what's the difference? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "DynaValidatorForm vs DynaValidatorActionForm what Watch "DynaValidatorForm vs DynaValidatorActionForm what New topic
Author

DynaValidatorForm vs DynaValidatorActionForm what's the difference?

dave sag
Ranch Hand

Joined: Feb 17, 2003
Posts: 47
I am a bit confised about whn I would use a DynaValidatorActionForm vs a DynaValidatorForm. The only difference that I can see is that in the DynaValidatorActionForm (which extends DynaValidatorForm) is that in the validate method it calls

whereas in DynaValidatorForm the validate method calls

the key difference seems to be use of mapping.getPath() rather than mapping.getAttribute()
could someone explain what the differences are and why you would choose to use one over the other.


JSF / Jini / Javaspaces / JDO - all rock in my opinion.
Thomas Paul
mister krabs
Ranch Hand

Joined: May 05, 2000
Posts: 13974
This might help:
http://www.manning.com/ao/readforum.html?forum=siaao&readthread=422


Associate Instructor - Hofstra University
Amazon Top 750 reviewer - Blog - Unresolved References - Book Review Blog
Amy Smith
Greenhorn

Joined: Jul 26, 2001
Posts: 24
My understanding is that DynaValidatorActionForm will let you define different validations for different actions that share the same form. With DynaValidatorForm all actions that share the form must share the validation.


Amy Smith<br />Java Developer<br />Haworth, Inc.<br />amy.smith@haworth.com
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: DynaValidatorForm vs DynaValidatorActionForm what's the difference?
 
Similar Threads
DynaValidatorActionForm
Strage: DynaValidatorActionForm vs DynaValidatorForm
Still not working - DynaValidatorActionForm and checkboxes
DynaValidatorActionForm not working
DynaValidatorActionForm and checkboxes