1 Reply Latest reply: Sep 29, 2013 4:50 AM by DilipG RSS

    Need Help ::  Current row attribute value returning null

    9d452cf7-d17f-4d1e-8e0e-b22539ea8810

        Hi Frds,

       

      I am facing the problem that

      Current row attribute value returning null............ even though value is there..... plz.. he

       

      This is the code in PFR

       

      OAApplicationModule am = pageContext.getApplicationModule(webBean);

      if (pageContext.getParameter("queryBtn")!= null)

      {

       

          String  pPersonId = pageContext.getParameter("ctrlPersonId");

       

           String rowReference = pageContext.getParameter(EVENT_SOURCE_ROW_REFERENCE);

           OptionsVORowImpl curRow = (     OptionsVORowImpl) am.findRowByRef(rowReference);

       

          String dtlsItem =  (String)curRow.getFlexValue();   /*  this is returning null value */

       

      /*  here creating  the hashmap and calling the page with the hashmap*/

       

      }

       

      Thanks & Regards,

      jaya

       

      Message was edited by: 9d452cf7-d17f-4d1e-8e0e-b22539ea8810

        • 1. Re: Need Help ::  Current row attribute value returning null
          DilipG

          Hi Jaya,

           

          You want to catch Flexfield values?

           

          Try below code for catch value.

           

          OAApplicationModule am = pageContext.getApplicationModule(webBean);

          if (pageContext.getParameter("queryBtn")!= null)

          {

          OADescriptiveFlexBean dfb = (OADescriptiveFlexBean)webBean.findChildRecursive("flexDFF"); //get the DFF bean

          OAWebBean dffbean = (OAWebBean)dfb.findChildRecursive("flexDFF0"); //get the field that applies to the attribute1 column that is being rendered

          OAMessageStyledTextBean Stylebean = (OAMessageStyledTextBean)dffbean;

          String dtlsItem  = (String)Stylebean.getText(pageContext);

           

           

          /*  here creating  the hashmap and calling the page with the hashmap*/

           

           

           

          }

           


          Thanks,

          Dilip