Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

Adv/Disadv of DynaActionForm

 
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What are the advantages and DISADVANTAGES of DynaActionForm/DynaValidatorForm... Will someone throw light on it.. Thanks in advance.
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"Abrahim D",

You have been asked on multiple occasions to change your display name to comply with our naming policy. Failure to do so will likely result in the closing of your account. Please take care of this so that we don't have to go that route.

Thanks,
Jason Menard
forum moderator
 
Ranch Hand
Posts: 173
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
To keep the ball rolling....

1. Advantage: DynaActionForm/DynaValidatorForm helps reduce code as you can do away with the coding of the getter and setter of form properties in a basic ActionForm. The form properties will then just have to be declared in struts config.xml.

Struts ActionForm has been criticized by other-framework users who forget to realize that their framework also have their own version of "action form" to help make the connection of form properties to bean properties, although in an xml format.

2. Disadvantage: can't use it for file uploading. Have to use the basic ActionForm.

There are many advantages and disadvantages. Hope others can pitch in too....
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The page located here seems to have a pretty good summary on the issue.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic