Problem with multiple delete with CTRL+A in table in ADF
Scenario: When we do a CTRL+A to select all record in table in ADF and perform delete action, It will not delete all the record in table. Only some of record will get deleted and some left undelete in table. To delete the record programatically usually we write code like this: RowKeySet rowKeySet = getTableName().getSelectedRowKeys(); CollectionModel cm = (CollectionModel)getTableName().getValue(); for (Object facesTreeRowKey : rowKeySet) { tableName.setRowKey(facesTreeRowKey); JUCtrlHierNodeBinding rowData = (JUCtrlHierNodeBinding)cm.getRowData(); if (rowData != null) { ...