9 Replies Latest reply on Apr 26, 2011 6:15 PM by user10431644

    OIE Extending Controller

    836130
      Hi gurus, i need some help because im really new with OAF
      please help me

      im trying to give some functionallity to iExpenses / OIE but i couldnt did it.

      i have to add an extra verification at detail page of a line when user click return button, after execute a query, if there is no records returned, then i have to put a message and dont let go back to previous page until everything is ok.

      so i tryed to make a controller in a lot of places but nothing happends

      to get know if my class is getting executed, in every case i put the same lines:


      public void processRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
      {
      paramOAPageContext.forwardImmediatelyToForm("PRUEBA");
      paramOAPageContext.putDialogMessage(new OAException("PRUEBA DE MENSAJE PARA CONTROLLER processRequest"));
      paramOAPageContext.putParameter("OkToReturn", null);
      paramOAPageContext.putParameter("ReturnButton", null);
      paramOAPageContext.putParameter("SDP_CALLING_MODULE", "CONFIRMATION");
      // super.processRequest(paramOAPageContext, paramOAWebBean);
      MessageToken[] tokens = { new MessageToken("PO_NUMBER", "prueba")};
      OAException message = new OAException("ICX", "FWK_TBX_T_PO_UPDATE_CONFIRM", tokens,
      OAException.CONFIRMATION, null);
      paramOAPageContext.putDialogMessage(message);
      OIEPageCO.processContactUs(paramOAPageContext);
      throw new OAException("num2 >= num1",OAException.ERROR);
      }

      public void processFormRequest(OAPageContext paramOAPageContext, OAWebBean paramOAWebBean)
      {
      //throw new OAException("Error",OAException.ERROR);
      paramOAPageContext.raiseDeveloperException(new OAException("Prueba"));
      paramOAPageContext.forwardImmediatelyToForm("PRUEBA");
      paramOAPageContext.putDialogMessage(new OAException("PRUEBA DE MENSAJE PARA CONTROLLER processFormRequest"));
      paramOAPageContext.putParameter("OkToReturn", null);
      paramOAPageContext.putParameter("ReturnButton", null);
      paramOAPageContext.putParameter("SDP_CALLING_MODULE", "CONFIRMATION");
      OIEPageCO.processContactUs(paramOAPageContext);
      throw new OAException("num2 >= num1",OAException.ERROR);
      // super.processFormRequest(paramOAPageContext, paramOAWebBean);
      }



      first i tryed at:

      /oracle/apps/ap/oie/entry/lines/webui/DetailsPG

      extends:
      oracle.apps.ap.oie.entry.lines.webui.DetailsPageGlueCO

      controller created:
      xx.oracle.apps.ap.oie.webui.XxDetailsPageGlueCO
      setted at pageLayout


      nothing happends


      i tryed at too:

      /oracle/apps/ap/oie/entry/lines/webui/CashAndOtherLinesPG 120.22.12000000.2
      extending oracle.apps.ap.oie.entry.webui.EntryFlowPageCO
      setted at pageLayout

      nothing happends



      too:
      /oracle/apps/ap/oie/entry/lines/webui/CashAndOtherLinesPG 120.22.12000000.2
      setted at Page Button Bar: Actions Region
      i set XxButtonsCO
      extending oracle.apps.ap.oie.webui.ButtonsCO


      but nothing happends

      the ONLY place where something happends was at:
      /oracle/apps/ap/oie/entry/header/webui/GeneralInformationPG 120.9.12000000.2
      where i created an xx.oracle.apps.ap.oie.webui.XxEntryFlowPageCO extending oracle.apps.ap.oie.entry.webui.EntryFlowPageCO
      setted at pageLayout



      and is because an error happends:


      Error Page
      Exception Details.
      oracle.apps.fnd.framework.OAException: java.lang.NullPointerException
           at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:896)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:612)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
           at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
           at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2497)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1893)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:537)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:425)
           at OA.jspService(_OA.java:212)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
           at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
           at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
           at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
           at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
           at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
           at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
           at OA.jspService(_OA.java:221)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
           at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
           at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
           at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
           at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
           at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
           at java.lang.Thread.run(Thread.java:595)
      ## Detail 0 ##
      java.lang.NullPointerException
           at oracle.apps.ap.oie.webui.HeaderCO.processRequest(HeaderCO.java:116)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
           at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
           at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2497)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1893)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:537)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:425)
           at OA.jspService(_OA.java:212)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
           at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
           at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
           at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
           at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
           at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
           at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
           at OA.jspService(_OA.java:221)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
           at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
           at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
           at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
           at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
           at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
           at java.lang.Thread.run(Thread.java:595)
      java.lang.NullPointerException
           at oracle.apps.ap.oie.webui.HeaderCO.processRequest(HeaderCO.java:116)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:596)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processRequest(OAStackLayoutBean.java:350)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processRequest(OAPageLayoutHelper.java:1166)
           at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processRequest(OAPageLayoutBean.java:1569)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processRequest(OAFormBean.java:385)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:964)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequestChildren(OAWebBeanHelper.java:931)
           at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processRequest(OAWebBeanHelper.java:655)
           at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processRequest(OAWebBeanContainerHelper.java:251)
           at oracle.apps.fnd.framework.webui.beans.OABodyBean.processRequest(OABodyBean.java:353)
           at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2497)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1893)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:537)
           at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:425)
           at OA.jspService(_OA.java:212)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
           at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:270)
           at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:42)
           at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:204)
           at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:283)
           at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:209)
           at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:322)
           at OA.jspService(_OA.java:221)
           at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
           at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:335)
           at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
           at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
           at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
           at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:64)
           at oracle.apps.jtf.base.session.ReleaseResFilter.doFilter(ReleaseResFilter.java:26)
           at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
           at oracle.apps.fnd.security.AppsServletFilter.doFilter(AppsServletFilter.java:318)
           at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627)
           at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
           at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
           at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
           at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
           at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
           at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
           at java.lang.Thread.run(Thread.java:595)
        • 1. Re: OIE Extending Controller
          Gyan Darpan
          Hi,

          Share your code in HeaderCO.java: @ line number - 116.

          Regards,
          Gyan
          • 2. Re: OIE Extending Controller
            836130
            hi Gyan, thanks for your response

            i have used jd-gui-0.3.3.windows to decompile .class and this tool tell me on the right margen that line 116 is:

            boolean bool1 = paramOAPageContext.getTransactionValue("IsCCPages").equals("Y");

            i tryed to generate .java and then again .class to be sure the line number is ok, but i couldnt do it because jd-gui-0.3.3.windows generates a lots of errors (40 aprox)


            i would like to try some example that anybody had tested and working ok.
            anything in iExpenses

            thanks a lot!
            • 3. Re: OIE Extending Controller
              781651
              Revert back all the changes you have done till now on the seeded page/controllers. Make sure seeded application is working fine.

              Now extend "oracle.apps.ap.oie.entry.lines.webui.DetailsPageGlueCO" and in processFormRequest() method print the following when "Return" button is clicked.

              String e = oapagecontext.getParameter("event");
              String s = oapagecontext.getParameter("source");

              Generally these values will be different for each event in the page. Based on the values put condition for "Return" button.

              Attach the extended controller at site level.

              -Anand
              • 4. Re: OIE Extending Controller
                Braj Pratap
                Hi

                All these approaches will not work ,the best feasible way is to ,create the replica of detail page by renaming this ,decompile the controller (the same which is available in about this page ,create the replica of this controller /or copy the complete code in new controller ,and put this on custom package.

                now
                1.)Write all your logic in this new custom controller.
                2.) Add this controller to your custom page .
                3.) then in CashAndOtherLinesPG page you will get the link ,u need to personalize this link ,in extend property provide the complete path of custom page .

                so whenever u will click the detial image on CashAndOtherLinesPG it will take u to the custom detail PG.


                Thanks
                Pratap
                • 5. Re: OIE Extending Controller
                  836130
                  Hi Pratap, thanks again

                  could you be more specific about how to do that?

                  im really new with all this and i dont know how to "create the replica"

                  i'll be really greatefull with you

                  thanks a lot and im sorry for my poor english
                  • 6. Re: OIE Extending Controller
                    836130
                    Hi Anand, when you say: "print the following" what do you mean?
                    System.out.println(e);
                    System.out.println(s);

                    ?

                    if its ok, where do i get this output at server?
                    at what file?

                    thanks a lot Anand to you too

                    T.A.Anand wrote:
                    Revert back all the changes you have done till now on the seeded page/controllers. Make sure seeded application is working fine.

                    Now extend "oracle.apps.ap.oie.entry.lines.webui.DetailsPageGlueCO" and in processFormRequest() method print the following when "Return" button is clicked.

                    String e = oapagecontext.getParameter("event");
                    String s = oapagecontext.getParameter("source");

                    Generally these values will be different for each event in the page. Based on the values put condition for "Return" button.

                    Attach the extended controller at site level.

                    -Anand
                    • 7. Re: OIE Extending Controller
                      Braj Pratap
                      Hi ,

                      By replica i mean to reuse the standard code ,

                      basicaly you have to create

                      1.) A custom controller and its code will be same as the standard one except the addtional logic you will add in this controller (so i said decompile and create copy/replica of controller with custom name )

                      2.) A custom detail page same as the standard except the controller name replaced with the new custom controller.

                      So now you will have the custom controller to add the additional logic and a custom page using the custom controller .


                      now on the personalize the CashAndOtherDetailPG link to call your custom page .


                      Thanks
                      Pratap
                      1 person found this helpful
                      • 8. Re: OIE Extending Controller
                        836130
                        Hi Pratap and Gyan, thank you so much for your effort.

                        Finally when i tryed to reproduce my issue i found out that my messages appear without do anything more than try one day later.
                        I realize that a refresh executed during night or something like that.

                        so i read a lot here at forum, and i found:

                        $INST_TOP/admin/scripts/adopmnctl.sh stopall
                        $INST_TOP/admin/scripts/adopmnctl.sh startall

                        and

                        $INST_TOP/admin/scripts/adoacorectl.sh stop
                        $INST_TOP/admin/scripts/adoacorectl.sh start

                        and executing one of those scripts worked :)

                        so, again thanks a lot and i hope see you on my next issue
                        thanks!
                        • 9. Re: OIE Extending Controller
                          user10431644
                          Hello everyone.

                          I have a question about a process module in the OIE, has nothing to do with the problem described in this topic, but I would take
                          and ask for help to solve or even refer me to the correct location.

                          I have to enable the button 'Match With Credit' process 'Credit Card Transactions' function 'Dispute Transactions', but it appears disabled.
                          Oracle reported that the values have to be equal, but even being equal, the button remains disabled. The button was disabled because the value
                          'Transaction Amount' be different 'Billed Amount' for being different currencies, and disabled due to change in the exchange.

                          I wonder, what table field that have to do the Update, so that the button can enable.

                          If anyone can help me, I am grateful.

                          Thanks.