1 Reply Latest reply: Dec 2, 2010 1:59 AM by Hussein Sawwan-Oracle RSS

    controller not move into processformrequest

    user9217112
      Hi friends,

      I hope this is first time i am faceing this kind of error like i have created one mt page with submit button in jdeveloper

      and attached the controller. wail runing the page, it is working fine. but the controller is not calling processformrequest so can anybody help me out what is the problem where can i am wrong.

      here is my co code:
      /*===========================================================================+
      | Copyright (c) 2001, 2003 Oracle Corporation, Redwood Shores, CA, USA |
      | All rights reserved. |
      +===========================================================================+
      | HISTORY |
      +===========================================================================*/
      package qwest.oracle.apps.icx.por.req.webui;

      import oracle.apps.fnd.common.VersionInfo;
      import oracle.apps.fnd.framework.webui.OAControllerImpl;
      import oracle.apps.fnd.framework.webui.OAPageContext;
      import oracle.apps.fnd.framework.webui.beans.OAWebBean;
      import oracle.apps.fnd.framework.OAApplicationModule;

      /**
      * Controller for ...
      */
      public class CheckoutCO extends OAControllerImpl
      {
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
      VersionInfo.recordClassVersion(RCS_ID, "%packagename%");

      /**
      * Layout and page setup logic for a region.
      * @param pageContext the current OA page context
      * @param webBean the web bean corresponding to the region
      */
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
      {
      super.processRequest(pageContext, webBean);
      OAApplicationModule am=(OAApplicationModule)pageContext.getRootApplicationModule();
      System.out.println("This is root Application Module ="+am);
      System.out.println("This is process request");
      super.processFormRequest(pageContext, webBean);
      }

      /**
      * Procedure to handle form submissions for form elements in
      * a region.
      * @param pageContext the current OA page context
      * @param webBean the web bean corresponding to the region
      */
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
      {
      super.processFormRequest(pageContext, webBean);
      OAApplicationModule am=(OAApplicationModule)pageContext.getRootApplicationModule();
      System.out.println("This is process form request application module = "+am);
      System.out.println("This is process form request");
      String event=pageContext.getParameter("event");
      System.out.println("event"+event);
      }

      }

      thanks and kind regards,
      prasad