• 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

Population of Form Fields from page to page

 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Okay guys,
I know this is an easy on, but I just wanna check and make sure I am doing it right.
I have a page with 3 combos on it. I use an ActionForm and Class to process the values and then I return to the same page with a results table displayed.
I want to be able to carry the values in those combo boxes over from the first instance of the page to the second, where I have the results.
How do I this using correct Struts methodolgy?
 
Sheriff
Posts: 6450
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure that the ActionForm is populated with the correct values for re-display. Sometimes it is appropriate to simply specify the scope of the page as session, while perhaps other times you want to populate a new ActionForm.
 
reply
    Bookmark Topic Watch Topic
  • New Topic