I need to design a control on Struts UI page with following functionalities.
* I have two attributes: Region, office. I have to design following tree structure on UI +Region 1 (checkbox) office1 (checkbox) office2 (checkbox) office3 (checkbox) +Region 2 (checkbox) office1 (checkbox) office2 (checkbox)
Based on above UI (which I don't quite sure how to achieve in multi select dropdown) if user selects office1 thenregion1 should get selected automatically. If user selects Region 2 then it should select all offices underneadh automatically.
can anyone guide me how do i go achieve these two functionalities first to auto select things and second how do I build this kind of UI (multi select , multi select in drop down). Any help with code examples would be much appreciated.
Hi vicky just try to write a java script on the "region1 aS WELL AS REGION 2 "' SEPERATELY . in respective event and enable the child checboxes . If u submit u will get all values checked in ur form bean or action class Thanks Gowtham firstname.lastname@example.org