• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select multibox on combo box selection?

 
syed hossain
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64718
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to the Struts forum.
 
Emilio Butrage´┐Żo
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic