select data of current Row
Hii Everyone,
I have used programatically to select current row and retrieve the data from that current selected row but getting the error that the method is not found.....here is the codes below...
public void SelectCurrentRow(org.apache.myfaces.trinidad.event.SelectionEvent selectionEvent) {
// Add event code here...
System.out.println("heeeeee");
ADFUtil.invokeEL( "#{bindings.DelegatePageVO11.collectionModel.makeCurrent}",
new Class[] { SelectionEvent.class },
new Object[] { selectionEvent });
Row selectedRow =(Row)ADFUtil.evaluateEL("#{bindings.DelegatePageVO1Iterator.currentRow}");
RowKeySet rowKeys = t2.getSelectedRowKeys();
itr = rowKeys.iterator();
DCBindingContainer bindings = (DCBindingContainer)
BindingContext.getCurrent().getCurrentBindingsEntry();
DCIteratorBinding evtIter =
bindings.findIteratorBinding("DelegatePageVO1Iterator");
Row currentRow = evtIter.getCurrentRow();
empName = currentRow.getAttribute("EmpName").toString();
System.out.println("Employee Name==>"+empName);
FacesContext.getCurrentInstance().getExternalContext().getSessionMap
().put("EmployeeName",empName);
}
I have declared method in selectionlistener of the table
The exception m getting is-----
javax.el.ELException: javax.el.MethodNotFoundException: Method not found: oracle.adfinternal.view.faces.model.binding.FacesCtrlHierBinding$Face
so can anyone help me out to solve this value.