ADF - Java Table Selection
This post is adding on to a previous post. Where I show you how to Overwrite the Table row selection
I will be using ADFUtils, and JSFUtils both of which are provided by Oracle.
(I have provided the Version I am working from, on a previous post)
The More advanced Row Selection Application can be found here.
Once you have created the method to select the Row, you can add:
// get the current selected row
Row selectedRow =
(Row)JSFUtils.resolveExpression("#{bindings.EmployeesView1Iterator.currentRow}");
//Set a pageFlowScope Variable
JSFUtils.setExpressionValue("#{pageFlowScope.User}",
selectedRow.getAttribute("FirstName") +
" " +
selectedRow.getAttribute("LastName"));
This will add the FirstName and Last Name go into the pageFlowScope.
have Fun!
#bearMan.
No comments:
Post a Comment