2 Replies Latest reply: Nov 20, 2012 10:41 AM by Pradeep Navin Kumar RSS

    Descrpitive FlexField

    Pradeep Navin Kumar
      Hi all,
      I am customizing a standard page. I have a dff in that page. I have set a default value in that dff field when the page loads. The Dff is a free text. I tried to achieve this through setValue. But it is of no use. Can anyone suggest me as how to achieve this functionality?

      Regards,
      Pradeep
        • 1. Re: Descrpitive FlexField
          keerthioaf
          Hi Pradeep ,

          Make use of the below code ,

          In PR of your controller ,

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

          OAMessageTextInputBean recemail=(OAMessageTextInputBean)oawebbean.findIndexedChildRecursive("OfferDetailsFlex22");
          //Replace OfferDetailsFlex22 with your DFF ID and please make sure its correct
          if(recemail !=null)
          {
          String setValue1="test";
          recemail.setText(setValue1);
          }

          Keerthi
          • 2. Re: Descrpitive FlexField
            Pradeep Navin Kumar
            Hi keerthi,

            Actually i tried it but it din work. But was able to find the solution. Instead of giving OAWebBean I used pagebean and i was able to get the handle. Thanks for your reply.


            Regards,
            Pradeep