• Post Reply Bookmark Topic Watch Topic
  • New Topic

select many checkboxes with in click on one readio button in JSF.

 
hiren sheth
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 893
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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

a4j:support
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!