This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
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

Instantiating DynaActionform

 
sirishree priya
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all,
I have the following scenerio,
I have 15 pages(screens) with previous and next in each page.I have written action mapping for both next and previous of each page in struts-config.xml and have a common Action page.In the config file I have separate form bean declaration for each page and form-bean having type of org....DynaActionForm.
My question is, in the action I am saving the fields of the current page and forwarding the request to next page when next is hit.Now before forwarding the request I want to populate the next page fields.So how do I get the reference or instantiate the DynaActionForm ( as the form which I have in action execute is having field of current page and not next page's)
Any help is greatly appreciated
Thanks in advance
Priya
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic