wood burning stoves 2.0*
The moose likes Struts and the fly likes What is DynaAction ? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "What is DynaAction ?" Watch "What is DynaAction ?" New topic
Author

What is DynaAction ?

amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
What is dynaAction form? or what it is?


Thanks advance who ever answers this question.


regards
amit bhadre
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
Not sure, but may be related to Struts.


My blood is tested +ve for Java.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

Moved to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mishra Anshu
Ranch Hand

Joined: Sep 16, 2003
Posts: 224
An ActionForm represents an HTML form that the user interacts with over one or more pages. You will provide properties to hold the state of the form with getters and setters to access them.
Maintaining a separate concrete ActionForm class for each form in your Struts application is time-consuming. It is particularly frustrating when all the ActionForm does is gather and validate simple properties that are passed along to a business JavaBean.

This bottleneck can be alleviated through the use of DynaActionForm classes. Instead of creating a new ActionForm subclass and new get/set methods for each of your bean's properties, you can list its properties, type, and defaults in the Struts configuration file.


"Ignorance is bliss"
amit bhadre
Ranch Hand

Joined: Jan 23, 2006
Posts: 124
Thanks

["If C & C++ are sea and Java is Ocean/Galaxies/ whole Universe"]




cheers
amit bhadre
Muthu Lakshmi
Greenhorn

Joined: Mar 07, 2006
Posts: 6
Hi,

i heard that validation in ActionForm can be used only to validate the form data on the client browser and server side validation can be accomplished with the use of "DynaValidatorForm".

What is this "DynaValidatorForm" and how to use the same?
Does this comes along with the Struts Framework?

Thanks
Muthu Lakshmi
 
wood burning stoves
 
subject: What is DynaAction ?