aspose file tools*
The moose likes Struts and the fly likes Select multibox on combo box selection? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Select multibox on combo box selection?" Watch "Select multibox on combo box selection?" New topic
Author

Select multibox on combo box selection?

syed hossain
Greenhorn

Joined: Mar 01, 2004
Posts: 1
Hi All,
I am a newbie at struts and java based web development.
Currently I have a jsp page with a form. The form contains a combo box and a few check boxes as part of multi box. The items in the multi box comes from a form bean that also receives the selection.
What I need to do is, check/select some of the check boxes based on the selection of an item in the combo box.
Any help will be greatly appreciated.
Thanks
Syed
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61606
    
  67

Moving to the Struts forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Emilio Butrage´┐Żo
Greenhorn

Joined: Mar 05, 2004
Posts: 8
Use the html tag library to represent each box, and set the property to the name of the corresponding variable of the form bean. Then have an action associated to the form bean use the values to perform the business logic.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Select multibox on combo box selection?