1 2 Previous Next 15 Replies Latest reply: Jul 7, 2012 5:53 AM by 884536 RSS

    Adding Custom region to OAF Page

    884536
      Hello everyone,

      I have a requirement to add a advanced table region to Stnd Page. i Have followed the below steps:

      1. Created a stacklayout region in jdevloper
      2. FTP the region and its components to server.
      3. Ran the page import script for this region,it was sucessful
      4. In the Stndared page created a FlowlaoutRN
      5. Given the extended property of in FlowlayoutRN to the newly created custom region.
      6. Now when i try to open the region ,iam getting error

      When i run the custom region from Jdev it showd the o/p. but when i try to open the Custom region in Stnd page iam getting error.

      Iam very thankful for ur suggestions, can any one help me in this

      Thanks
      GK
        • 1. Re: Adding Custom region to OAF Page
          Parag Narkhede
          What error are you getting?
          • 2. Re: Adding Custom region to OAF Page
            884536
            Hi Parag,

            Thank u for prompt response, iam getting below errorr:



            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.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1169)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:2149)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
                 at OA.jspService(_OA.java:209)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                 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:621)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                 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:619)
            ## Detail 0 ##
            java.lang.NullPointerException
                 at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:515)
                 at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3746)
                 at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3468)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1102)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
                 at OA.jspService(_OA.java:209)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                 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:621)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                 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:619)
            java.lang.NullPointerException
                 at oracle.apps.fnd.framework.webui.JRAD2AKMapper.getRootMElement(JRAD2AKMapper.java:515)
                 at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getWebBeanTypeDataFromJRAD(OAWebBeanFactoryImpl.java:3746)
                 at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getRootApplicationModuleClass(OAWebBeanFactoryImpl.java:3468)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1102)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
                 at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
                 at OA.jspService(_OA.java:209)
                 at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                 at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
                 at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                 at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                 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:621)
                 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                 at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                 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:619)

            I have created a buttonat the last column, and given the Destination URI property of the button as custom region path :OA.jsp?page=/xx/oracle/apps/pos/changeorder/webui/DistributionExternalRN

            when clicking on the button iam getting the above error.
            I have ran the import script from cmd prompt , is this making a issue ??

            Regards
            GK
            • 3. Re: Adding Custom region to OAF Page
              Parag Narkhede
              Run below for your page, see what you get...

              set serveroutput on;

              BEGIN
              Jdr_Utils.printDocument('/oracle/apps/qot/quote/header/webui/QotQuoteDetailsPG');
              END;
              • 4. Re: Adding Custom region to OAF Page
                884536
                Hi Parag,

                I have ran the printdocument for the external region. iam getting the XML defnition.

                BEGIN
                JDR_UTILS.PRINTDOCUMENT('/xx/oracle/apps/pos/changeorder/webui/DistributionExternalRN');
                END;

                By the way let me tell you what i want to achive is:

                in iSupplier portal-->PO view page , there is a PO lines table and Po shipments table in master detail relationship.
                Now i want to add one more Table called PO Distribution under the Shipments table.

                To achive this , i have created a Column in the shipment table through personalization, and added a button item;
                so for the Destination URI property of the Button i have given the path of my external region.(Now iam getting error here),when i click on button iam getting above error.

                My whole idea was : when the user click on the Button in the shipments table it must show the PO distribution table.

                I think u got my requirement:
                so can i achive my requiremtn in this way, or can u suggest me any alternative ?
                can u send me any links or threads if u came across similar requirement..

                Regards
                GK
                • 5. Re: Adding Custom region to OAF Page
                  Parag Narkhede
                  you can achive your requirement with what you are doing.
                  But just imagine, for a user, to view shipment lines, he has to click on button.
                  This will not be user friendly.

                  I have seen iSupplier portal page. But I think you should add your region as addindexedchild to the region which holds po lines region.

                  Ex:

                  PO header region(eg. PoHrdFlexLayRN)
                  -->PO Line region (Eg. POLineFlexRN)
                  --> PO Shipments region(add ur region as addindexedchild to POLineFlexRN )

                  I hope you understand what I mean...

                  --Parag                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       
                  • 6. Re: Adding Custom region to OAF Page
                    884536
                    Hi Parag,

                    Yes i understood your tip. previously i was creating a Flowlayout region under Pagelayout region.
                    now let me try adding the Flowlayout under POlines region or PO shipment region.
                    i will add and let u knw the result.

                    Rgds
                    GK
                    • 7. Re: Adding Custom region to OAF Page
                      884536
                      Hi Parag,

                      One more qstn, now if i add a Floelayout region under POLines region,how can i make the region appear only on button click.
                      • 8. Re: Adding Custom region to OAF Page
                        884536
                        Hi Parag,

                        I have done as you said.
                        1. under the PO Shipments Region(its a header region) i have added a FlexLayoutRN
                        2.Under FlexLayoutRN i have added FlexibleContent Item
                        3.Given the Extends property as /xx/oracle/apps/pos/changeorder/webui/DistributionExternalRN for the Flexiblecontent item

                        when i go back to the page and click on hide/show item its throwing error as:


                        oracle.apps.fnd.framework.OAException: Invalid or missing view link. Please attach view link with the bean.
                             at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1251)
                             at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3136)
                             at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2931)
                             at OA.jspService(_OA.java:225)
                             at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                             at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
                             at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                             at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                             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:621)
                             at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                             at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                             at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                             at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                             at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                             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:619)
                        ## Detail 0 ##
                        oracle.apps.fnd.framework.OAException: Invalid or missing view link. Please attach view link with the bean.
                             at oracle.apps.fnd.framework.webui.OABoundValueChildNodeList.getDetailRowSet(OABoundValueChildNodeList.java:267)
                             at oracle.apps.fnd.framework.webui.OABoundValueChildNodeList.getDetailDataObject(OABoundValueChildNodeList.java:153)
                             at oracle.apps.fnd.framework.webui.OABoundValueChildNodeList.getChildNodeList(OABoundValueChildNodeList.java:122)
                             at oracle.apps.fnd.framework.webui.OABoundValueChildNodeList.getValue(OABoundValueChildNodeList.java:88)
                             at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(OAWebBeanHelper.java:1805)
                             at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.getAttributeValueImpl(OAAdvancedTableBean.java:569)
                             at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
                             at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.updateInnerTableProperties(OAAdvancedTableHelper.java:1827)
                             at oracle.apps.fnd.framework.webui.OAAdvancedTableHelper.preRender(OAAdvancedTableHelper.java:1968)
                             at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.render(OAAdvancedTableBean.java:786)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.desktop.ContentContainerRenderer.renderChildContent(Unknown Source)
                             at oracle.cabo.ui.laf.simple.desktop.ContentContainerRenderer._renderContentsRow(Unknown Source)
                             at oracle.cabo.ui.laf.simple.desktop.ContentContainerRenderer._renderContents(Unknown Source)
                             at oracle.cabo.ui.laf.simple.desktop.ContentContainerRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.portal.ui.renderer.FlexibleContentRenderer.renderContentOfFlexibleContent(FlexibleContentRenderer.java:248)
                             at oracle.portal.ui.renderer.FlexibleContentRenderer.renderExpandedState(FlexibleContentRenderer.java:205)
                             at oracle.portal.ui.renderer.FlexibleContentRenderer.renderContent(FlexibleContentRenderer.java:85)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderVerticalLayout(FlexibleLayoutRenderer.java:339)
                             at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderContentOfFlexibleLayout(FlexibleLayoutRenderer.java:295)
                             at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderExpandedState(FlexibleLayoutRenderer.java:198)
                             at oracle.portal.ui.renderer.FlexibleLayoutRenderer.renderContent(FlexibleLayoutRenderer.java:86)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
                             at oracle.cabo.ui.laf.base.desktop.TableRenderer._renderTableRows(Unknown Source)
                             at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableRows(Unknown Source)
                             at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderTableContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.TableRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.desktop.TableRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.apps.fnd.framework.webui.beans.table.OAAdvancedTableBean.render(OAAdvancedTableBean.java:787)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
                             at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
                             at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(OABodyBean.java:398)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
                             at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
                             at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.BaseUINode.render(Unknown Source)
                             at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
                             at oracle.apps.fnd.framework.webui.OAPageBean.render(OAPageBean.java:3480)
                             at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:3126)
                             at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(OAPageBean.java:2931)
                             at OA.jspService(_OA.java:225)
                             at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
                             at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
                             at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
                             at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
                             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:621)
                             at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
                             at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
                             at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
                             at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:313)
                             at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:199)
                             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:619)


                        so,any work around is there for this problem !!

                        Rgds
                        GK,
                        • 9. Re: Adding Custom region to OAF Page
                          Parag Narkhede
                          You are going in right way.

                          structure is like

                          --PO Header
                          --PO Line
                          -- PO Shipment line


                          Since PO Header nd PO line is seeded one , there exists a View link between their VOs.
                          But since you have not created View link between PO LINE VO and PO SHIPMENT VO, it is throwing error.

                          you should create a view link between PO LINE VO and PO SHIPMENT VO , add it to AM, add your shipment VO to the same AM.
                          you can do this programatically or in Jdev and then import it. I would prefer extend CO and do all these things programatically.

                          I am 100% sure that you will complete your task.
                          • 10. Re: Adding Custom region to OAF Page
                            884536
                            Thank you Parag,

                            with all your support iam sure i can do it :-)

                            now when the page load, it looks like this:

                            -PO Details(HeaderRN)
                            -POLines(Advanced table)
                            -POShipments(AdvTable)
                            -XXCustomRN(StackLayout)

                            Now i need to pass values from stndard page to custom region.
                            as i told there is a button in shipments table, when the button clicked, the line_id must be passed to XXCustomeRN
                            plz observe my below points:
                            1) The AM for standared page and cutom region are different. if i use hashmap will it work ??
                            2) If i give Destination URI propery of the button :OA.jsp?page=/xx/oracle/apps/pos/changeorder/webui/DistributionExternalRN& param=po_line_id
                            it opening region in a new page.but i want the custom region to be in same Standared page

                            So, how can i pass parameter now ?
                            • 11. Re: Adding Custom region to OAF Page
                              Parag Narkhede
                              Button??? Dont use any button..

                              Extend the CO of page and add XXCustomRN as a addindexedchild to the main region so that it will appear below
                              -POShipments(AdvTable)

                              I think you should do this first. once your region comes below -POShipments(AdvTable), you can work on further requirement.

                              ---PO Details(HeaderRN)
                              -----POLines(Advanced table)
                              ----------POShipments(AdvTable)
                              -----------------XXCustomRN(StackLayout)

                              But this is not working then adding a button is the only solution(which will be weird to look).
                              • 12. Re: Adding Custom region to OAF Page
                                Parag Narkhede
                                I have tried below code and able to bring my custom region below the specified region.

                                OAQueryBean itemSourcesTable = (OAQueryBean)webBean.findChildRecursive("region2");
                                itemSourcesTable.addIndexedChild("/wyse/oracle/apps/qot/quote/line/server/regionPN");


                                my region2 is a query bean...
                                • 13. Re: Adding Custom region to OAF Page
                                  884536
                                  Parag, thanks again for helping hand

                                  I have not yet tried , i will try ur code and let you know.

                                  but client expecting like this model :

                                  PO line details(adv tabe)
                                  + (there alraedy a hide/show item for both the tables)
                                  Po shipments table (adv table)
                                  + (there shuld be a link here, that could be a hide/show item or a button )
                                  Customregion(adv table)
                                  • 14. Re: Adding Custom region to OAF Page
                                    884536
                                    Hi Parag,

                                    I have added the custom region under shipment table by CO extension, its working fine. thank you so much
                                    now i have to capture a attribute on click of the button, but its not working ,here is the CO code :can you chk once and tell me if i was wrong any where ?


                                    public class xxPosViewPOCO12 extends PosViewPOCO
                                    {
                                    public xxPosViewPOCO12()
                                    {
                                    }

                                    public void processRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
                                    {
                                    super.processRequest(oapagecontext, oawebbean);

                                    }

                                    public void processFormRequest(OAPageContext oapagecontext,
                                    OAWebBean oawebbean)
                                    {
                                    super.processFormRequest(oapagecontext, oawebbean);

                                    String hideShowEvent = oapagecontext.getParameter(OAWebBeanConstants.EVENT_PARAM);
                                    if ((OAWebBeanConstants.SHOW_EVENT.equals(hideShowEvent)) || (OAWebBeanConstants.HIDE_EVENT.equals(hideShowEvent)))
                                    {
                                    if ("update".equals(oapagecontext.getParameter(EVENT_PARAM)))

                                    {


                                    String rowReference = oapagecontext.getParameter(OAWebBeanConstants.EVENT_SOURCE_ROW_REFERENCE);
                                    Row currentRow = oaapplicationmodule.findRowByRef(rowReference);
                                    String line_id = (String)currentRow.getAttribute("PoLineId"); //System.out.println(" p_parma" + p_parma);
                                    oapagecontext.writeDiagnostics(this,
                                    (new StringBuilder()).append("Inside operation Seq Value: ").append(line_id).toString(),2);
                                    }
                                    }
                                    }


                                    }
                                    1 2 Previous Next