1 Reply Latest reply: Jul 4, 2013 9:48 AM by Activesometimes-Oracle RSS

    To hide the Reset approval list button from the Checkout and Review Approver List page(Web approval List)

    nancy25

      Hello,

       

      I want to hide the 'Reset Approval List' button in the Checkout: Review Approver List page (Web approval list page) in IProcrument.

      This page is a seeded page and I want to do this customization of hiding this button.

      I have have tried to handle it with a profile and used the below code in the processRequest and processFormRequest method but it didn't work.

       

           if("Y".equalsIgnoreCase(pageContext.getProfile("GECM_SHOW_ADD_APPR_BTN")) && (pageContext.getParameter("ApprListTable")!=null))

           {

               OASubmitButtonBean resetButtonBean = (OASubmitButtonBean)webBean.findChildRecursive("ResetButton");

               if(resetButtonBean != null)

              {

                  resetButtonBean.setRendered(false);

                  if(pageContext.isLoggingEnabled(1))

                  {

                       pageContext.writeDiagnostics(this, "Reset button hidden:", 1);

                  }

              }

           }

       

      Please help me solve it.

       

      Regards,

      Carine