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|

Legend *) Required fields are marked
**) You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Category: OAF