• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Piet Souris
  • Tim Holloway
  • Jj Roberts
  • Stephan van Hulst
Bartenders:
  • Himai Minh
  • Carey Brown
  • Frits Walraven

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.
 
Sasparilla and fresh horses for all my men! You will see to it, won't you tiny ad?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic