select many checkboxes with in click on one readio button in JSF.
hiren sheth
Greenhorn
Joined: Jul 17, 2007
Posts: 2
posted
0
i have two Readio buttons , one is Select All and another is UnSelect All and Ten CheckBoxes. what i want when i click on Select All RedioButton then it select all the CheckBoxes and when i click on UnSelect All then it De select all the Checkboxes.
can anybody give me the solution with or without using JavaScript
Remko Strating
Ranch Hand
Joined: Dec 28, 2006
Posts: 893
posted
0
Add an actionListener to the button which sets the different checkBoxes depending on the value of the current checkbox.
Add an <a4j:support> event for a partial update of the checkBoxes