• Post Reply Bookmark Topic Watch Topic
  • New Topic

Finding problem in setting a value for h:selectBooleanCheckbox

 
Balaji Natarajan
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Following is the JSP


Following is my backing bean


i have set the managed bean in session scope.

please help me!!!
[ February 29, 2008: Message edited by: Balaji Natarajan G ]
 
Balaji Natarajan
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!!!
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!