Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

selectBooleanCheckbox - How do I add a Select All with a Remove button feature  RSS feed

 
mike housing
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I'm trying to do is this. I have an extendedDataTable that the user can add multiple profiles into. When the user adds a profile into the table, it creates a row with a checkbox at the beginning of the row. Once the user is done adding profiles to the table, they can remove unwanted profiles by clicking the checkbox next to the profile or they can click the select all checkbox above to select all the profiles in the table and then click the remove button below.

So the problem isn't how do i create a select all checkbox, the problem that I am running into is the Vaildation setp in the JSF life cycle. I have an immediate="true" on my remove button beacuse I have validation above for other fields, and I want the user to be able to remove profiles without having to enter the information above first. So what happens is when the user clicks remove it doesn't remove the profiles from the table. I was thinking of useing <a4j:support> but I really don't no anything about it. Does anyone have any suggestions? Thanks.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!