Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing dynaactionform in action class

 
k srinivas
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Could i please know as to how could i access the dynaactionform into my action class. how can i set some value to the property of the dynaactionform in the action class
Thanks in advance....
 
Anurag Mishra
Ranch Hand
Posts: 121
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Srinivas,

Please see this hierarichy

DynaValidatorForm extends DynaActionForm
DynaActionForm extends ActionForm
ActionForm extends Object

So now if you want to set properties for your dyanaAction form
check this in your struts-config.xml file


thanks
Anurag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic