• 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
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

regarding DynaForm

 
Ranch Hand
Posts: 93
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to struts.I would like to know the use of DynaForm in a struts application.
 
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DynaForms are pretty straightforward and any tutorial (ask Google) should do the trick.

FYI - Most experienced Struts developers I know think that DynaForms are a bad idea. You could probably ask Google about that too.
 
Ranch Hand
Posts: 1258
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm really curious about what you've heard about DynaForms being bad, Marc. I just searched Google, but can't really nail down any opinions out there. Do you have any links or summaries to share?
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"abhi BN",

Welcome to JavaRanch. We don't have many rules here, but we do have a naming policy which we try to strictly enforce. Please re-read this document and edit your display name in order to comply. Thanks in advance, and we look forward to seeing you around the Ranch.
 
Jason Menard
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I generally prefer straight ActionForms to DynaActionForms, but that's more of a personal thing. I have used them in the past though. Like Nathaniel, I too haven't read anything saying that they were a bad thing.
 
Marc Peabody
pie sneak
Posts: 4727
Mac VI Editor Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry. "Bad" is a strong word and I use it loosely all too much. I'll try to do better with it around here.

To my chagrin, Google did not give me any results either.

DynaForms are a convenience, but you giving up control for that convenience. When starting out this is not a big sacrifice. But with more complicated application scenarios the lack of control can become a bigger inconvenience than anything. Not to mention restarting your server every time you add a field or validation to a form is annoying.

If I had a very very simple app that I knew I could write the frontend in little time I would use DynaForms. They are not inherently evil.

Sorry for not putting more thought into my post.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic