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

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Select multibox on combo box selection?" Watch "Select multibox on combo box selection?" New topic

Select multibox on combo box selection?

syed hossain

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.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 62118

Moving to the Struts forum.

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

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.
wood burning stoves
subject: Select multibox on combo box selection?