Wednesday, February 5, 2014

How to get the value of the field in OAF



How to get the value of the field in OAF

Now we are going to learn about how to get the value of a field in OAF.
Let us assume there is a messagetextinput field now we have to capture the value entered in that field.

Import the OAMessageTextInputBean

import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;

OAMessageTextInputBean msc = (OAMessageTextInputBean)webBean.findChildRecursive("EmployeeName");
 msc = msc.getValue(pageContext).toString();

1 comment:

  1. i think it should be..
    OAMessageTextInputBean msc = (OAMessageTextInputBean)webBean.findChildRecursive("EmployeeName");
    String msc_val = msc.getValue(pageContext).toString();

    ReplyDelete