• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Display Check Boxes & Dropdowns in Struts with search results

 
Sara Smith
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a JavaBean, which gets its properties populated through database table query. For example, this JavaBean has three properties; AccountNumber, Short Name, Portfolio, etc. I have a Collection of such a JavaBean because there are thousands of people in the database table.
Now, it gets to the JSP web page. I am going to display a table with fix columns:

First column: a check box
Second column: AccountNumber
Third column: Short Name
Fourth column: Portfolio
Fifth column: Drop Down
Six column: Radio Button

If client puts a check mark in a check box, radio button & selects from the dropdowm box, the values of all the selections from the form should carried forward when the form is posted. How will I handle some this like this in Struts ActionForm Bean? What do I need to have in my FormBean? Also, I should be able to carry these selections back and forth on the different screens with out putting the values into the session (e.g: like a wizard) is it possible?

Can any of you provide me any code examples or links on this issue? Any help is greatly appreciated.
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to the Struts forum.

Thanks

Mark
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic