TrainBeaser for iPhone
The moose likes JSF and the fly likes AF tableSelectManyCheckBox. Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "AF tableSelectManyCheckBox." Watch "AF tableSelectManyCheckBox." New topic
Author

AF tableSelectManyCheckBox.

Chandrasekhar kotha
Greenhorn

Joined: Jun 27, 2005
Posts: 22
I am facing problem in Uncheking /de selecting a checkbox from af: table Select Many. Basically When i click some hyper link adjust to column(checkbox) I'll do some logic in pagebean then i need to deselect /uncheck the checkbox. Any thoughts ??



Please do needful.

Here.. is the sample code snippet:


Here is my code snippet..

UIXTable table = getBindingLinkedTable();
Iterator itr = table.getSelectionState().getKeySet().iterator();
//Object oldKey = table.getRowKey();

while (itr.hasNext()) {
if(MATCH_FOUND)){
System.out.println("MATCHING..
RECORD......");
//I should uncheck the checkbox...
}
}
 
IntelliJ Java IDE
 
subject: AF tableSelectManyCheckBox.
 
Threads others viewed
disabling checkbox
Struts2 Checkbox: How to set value back to Bean
select and unselecting checkboxes based on clicking a check box
Creating classes
struts-html:checkbox default checked
MyEclipse, The Clear Choice