Finding problem in setting a value for h:selectBooleanCheckbox
Balaji Natarajan
Greenhorn
Joined: Nov 24, 2007
Posts: 29
posted
0
Hi i have just started J S F few days before and i am now stuck in a problem and the definition is given below. Problem: I have a check box named "Select All" and a list of Check Boxes (generated using a data table). When you click "Select All" all check boxes in data table should be clicked automatically. This i have achieved through "valueChangeListner" and its working fine. But the real problem comes, when i uncheck any of the check box inside datatable, "Select All" check box should be unchecked.
please help me!!! [ February 29, 2008: Message edited by: Balaji Natarajan G ]
Best Regards,<br />Balaji Natarajan<br /> <br />SCJP 1.5 100%<br />SCWCD 1.5 92%<br />SCBCD (In Progress)
Balaji Natarajan
Greenhorn
Joined: Nov 24, 2007
Posts: 29
posted
0
this.setAllSelected(false); given in valueChangeListener sets the managed bean boolean member as false. this is bound to the Select All check box in jsp. Why is this not getting reflected?
please help!!!
subject: Finding problem in setting a value for h:selectBooleanCheckbox