messagetoken in oaf
In this post , we will discuss about
messagetoken in oaf. message token is uses when we want to AOL messages in our
OAF pages messages. When we don't want to hardcode or fix the messages in the
OAF pages but want to pick the AOL messages based on the run time conditions
then we used the messagetoken in oaf. To use messagetoken we fist need to
import the below class in the controller.
import.oracle.apps.fnd.common.Messagetoken
Here below is the same code of Using
messagetoken in oaf
MessageToken[] tokens ={ new
MessageToken("SUPPLIER_NAME","ABC TECH")
};
};
//ABC TECH is the name of the
Supplier.
OAException message = new
OAException("AK,"FWK_TBX_T_EMP_CREATE_CONFIRM", tokens,OAException.CONFIRMATION,null);
0 comments:
Post a Comment