OAF How to Set DFF Value in Controller
//Controller logic to set required and set the default for DFF
OADescriptiveFlexBean dffFlexIDBean = (OADescriptiveFlexBean)
webBean.findChildRecursive("dffFlexID");
dffFlexIDBean.processFlex(pageContext);
OAMessageLovInputBean dffFlexID5Bean =
(OAMessageLovInputBean)dffFlexIDBean.findChildRecursive("dffFlexID5");
if(dffFlexID5Bean!=null)
{
System.out.println("Entered If Condition");
dffFlexID5Bean.setRequired("yes");
dffFlexID5Bean.setValue(pageContext,"A123");
}
Comments |0|
Category: OAF