aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Display Check Boxes & Dropdowns in Struts with search results Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Display Check Boxes & Dropdowns in Struts with search results" Watch "Display Check Boxes & Dropdowns in Struts with search results" New topic
Author

Display Check Boxes & Dropdowns in Struts with search results

Sara Smith
Greenhorn

Joined: Oct 20, 2006
Posts: 28
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

Joined: Feb 05, 2001
Posts: 17250
    
    6

Moving this to the Struts forum.

Thanks

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Display Check Boxes & Dropdowns in Struts with search results