File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes select many checkboxes with in click on one readio button in JSF. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » JSF
Reply Bookmark "select many checkboxes with in click on one readio button in JSF." Watch "select many checkboxes with in click on one readio button in JSF." New topic
Author

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

hiren sheth
Greenhorn

Joined: Jul 17, 2007
Posts: 2
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
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


Remko (My website)
SCJP 1.5, SCWCD 1.4, SCDJWS 1.4, SCBCD 1.5, ITIL(Manager), Prince2(Practitioner), Reading/ gaining experience for SCEA,
 
 
subject: select many checkboxes with in click on one readio button in JSF.
 
MyEclipse, The Clear Choice