Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

select data of current Row

kumar santoshOct 22 2012 — edited Oct 25 2012
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.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 22 2012
Added on Oct 22 2012
5 comments
183 views