Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Instantiating DynaActionform

sirishree priya
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic