aspose file tools*
The moose likes Struts and the fly likes DynaValidatorActionForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "DynaValidatorActionForm" Watch "DynaValidatorActionForm" New topic
Author

DynaValidatorActionForm

ajay verma
Ranch Hand

Joined: Dec 10, 2007
Posts: 37
can you pls give me idea how to use of DynaValidatorActionForm ?
and what will be benefits over using DynaValidatorForm?
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
The answer is in the following paragraphs from the Struts Validator Guide.
An alternative approach is to use the action mapping path attribute. In this case, you extend the ValidatorActionForm instead of the ValidatorForm. The ValidatorActionForm uses the action element's path attribute from the Struts configuration which should match the form element's name attribute in the Validator configuration.

Then a separate action mapping can be defined for each page in a multi-page form, and the validation form can be associated with the action rather than a page number (as shown in the example of a multi-page form in the validator example).


Merrill
Consultant, Sima Solutions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: DynaValidatorActionForm
 
Similar Threads
DynaValidatorActionForm
DynaValidatorActionForm and checkboxes
DynaValidatorActionForm and java.util.ArrayList
DynaValidatorActionForm not working