Monday, 20 November 2017

Oracle ADF how get Current row Value in Table:


Oracle ADF how get Current row Value in Table:

public class ExampleBean
{
 private Integer deptId;
 public void buttonClicked(ActionEvent ae)
 {
    Row currentDeptRow=(Row)ADFUtil.evaluateEL("#{bindings.DeptVO.currentRow}");
    ADFUtil.setEL("#{pageFlowScope.deptId}",currentDeptRow.getAttribute("Deptno"));
 }
 public void setDeptId(Integer deptId) {
   this.deptId=deptId;
 }
 public Integer getDeptId()
 {
    return deptId;
 }
}



No comments:

Post a Comment