OAProcessingPage does not call processFormRequest of assigned controller

Hi, All
When I am calling
pageContext.forwardToProcessingPage(page);
I see Processing Page with twisting clock and "Refresh Process Status" button and nothing happens
Method processFormRequest called when the button is pressed.
My code:
Invoking processing page
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
String event = pageContext.getParameter("event");
if ("sendReport".equals(event)) {
String headerId = pageContext.getParameter("headerId");
if (headerId != null) {
OAProcessingPage page = new OAProcessingPage("nit.oracle.apps.gl.emf.report.webui.SendCO");
OAApplicationModule am = pageContext.getApplicationModule(webBean);
Serializable[] params = {"SQLGL", "KZT_EMF_SHORT_SEND_MESSAGE"};
String message = (String)(am.invokeMethod("getMessage", params));
page.setConciseMessage(message);
params[1] = "KZT_EMF_DETAILED_SEND_MESSAGE";
message = (String)(am.invokeMethod("getMessage", params));
page.setDetailedMessage(message);
params[1] = "KZT_EMF_SEND_PROCESS_NAME";
message = (String)(am.invokeMethod("getMessage", params));
page.setProcessName(message);
page.setRetainAMValue(true);
pageContext.forwardToProcessingPage(page);
Processing Page Controller
package nit.oracle.apps.gl.emf.report.webui;
import oracle.apps.fnd.common.MessageToken;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAException;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
public class SendCO extends OAControllerImpl {
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am = pageContext.getApplicationModule(webBean);
String sendResult = (String)(am.invokeMethod("sendReport"));
if (sendResult != null) {
String errCode = null;
String errDescription = null;
pageContext.setForwardURL(pageContext.getApplicationJSP() + "?" + "page=/nit/oracle/apps/gl/emf/report/webui/ReportPG&refreshHeaders=true&retainAM=Y&showSendError=Y",
null,
KEEP_MENU_CONTEXT,
null,
true,
ADD_BREAD_CRUMB_NO,
OAException.ERROR);
else {
pageContext.setForwardURL(pageContext.getApplicationJSP() + "?" + "page=/nit/oracle/apps/gl/emf/report/webui/ReportPG&refreshHeaders=true&retainAM=Y",
null,
KEEP_MENU_CONTEXT,
null,
true,
ADD_BREAD_CRUMB_NO,
OAException.ERROR);
}

I changed the <form> in the jsp to div and its working fine. I do not need to have comments in JavaScript funcion() anymore. I don't know why that made the difference though? According to:
http://www.w3schools.com/tags/tag_form.asp
The <form> tag is used to create an HTML form for user input.
The <form> element can contain one or more of the following form elements:
<input>
<textarea>
<button>
<select>
<option>
<optgroup>
<fieldset>
<label>
An HTML form is used to pass data to a server.
I do have <button> and also send the data - the value of checkboxes - to server. So I think it should also work with <form>.
Please let me know if you have any idea. Thanks.

Similar Messages

  • When I press on a land line number, the phone does not call the number, but comes up with a screen to send a text to it.  How do I get my phone to default to phoneing a landline?

    When I press on a land line number, the phone does not call the number, but comes up with a screen to send a text to it.  How do I get my phone to default to phoneing a landline?  When I press a mobile number in contacts, the phone automatically phones the number.  I do not mind this as I hardly ever send texts, but I would like to have the option of what to do.  This seems such an obvious issue but I can not solve it even with much web searching.  Thanks!

    I can't delete my question, so I'll just say that you press on the type of number written in the box to the left of the box you typye the number into.  Dumb or what? 

  • Document type ZD does not allow you to assign to object MARA

    hi ppl,
             I have created a Z document type.but its not allowing me to assign in mm02.what might be the problem..? its throwing an error message Document type ZD does not allow you to assign to object MARA.

    You need to enable object linking to mara on your new document type. Go to Tcode DC10, select the document type and then go to the object links area. Create a new object link for your document type.

  • Error - Account group  does not exist, check classification assignment

    Hi Guys,
    I am having an BP replication issue from CRM to R3 when i create BP from Web IC with role UTIL_IC. BP gets replicated to R3 if i create BP from GUI.
    Bdoc Error - Account group  does not exist, check classification assignment
    i have completed all the required configuration as below
    Setup of no range for BP and assigned to grouping
    PIDE settings in R3
    Setup if account identification profile in IS solutions
    Thanks,
    Nitin

    Nitin,
    Refer to [this|BP replication error; &[this|Contact Person Replication From CRM to R/3; thread.

  • CommandButton does not call action method ?

    Hi BalusC or JSF gurus,
    I have a requirement to build a database table and update the row in the database table followed with save.
    I used this from posts : http://balusc.xs4all.nl/srv/dev-jep-dat.html.
    It was very excellent. Thanks BalusC.
    table.jsp:
    <h:dataTable rows="0" value="#{LCCircuitUtil.circuitList}" var="currentRow" binding="#{LCCircuitUtil.dataTable}">
    <h:column>
    <f:facet name="header">
    <h:outputText value="Circuit Name"/>
    </f:facet>
    <h:commandLink action="#{LCCircuitUtil.editLinkAction}">
    <h:outputText value="#{currentRow.circuitId}"/>
    </h:commandLink>
    </h:column>
    <h:column>
    <f:facet name="header">
    <h:outputText value="Audit Comments"/>
    </f:facet>
    <h:commandLink action="#{LCCircuitUtil.editLinkAction}">
    <h:outputText value="#{currentRow.auditComment}"/>
    </h:commandLink>
    </h:column>
                   <h:column>
    <f:facet name="header">
    <h:outputText value="Start Date"/>
    </f:facet>
    <h:commandLink action="#{LCCircuitUtil.editLinkAction}">
    <h:outputText value="#{currentRow.startDate}"/>
    </h:commandLink>
    </h:column>
                   <h:column>
    <f:facet name="header">
    <h:outputText value="End Date"/>
    </f:facet>
    <h:commandLink action="#{LCCircuitUtil.editLinkAction}">
    <h:outputText value="#{currentRow.endDate}"/>
    </h:commandLink>
    </h:column>
                   <h:column>
    <f:facet name="header">
    <h:outputText value="Status "/>
    </f:facet>
    <h:commandLink action="#{LCCircuitUtil.editLinkAction}">
    <h:outputText value="#{currentRow.status}"/>
    </h:commandLink>
    </h:column>
    </h:dataTable>
    <h:commandButton value="New" action="#{LCCircuitUtil.newButtonAction}"/>
         </h:panelGroup>
    Upon click the link or newButtonAction i am able to see the edit.jsp with the populated row values..
    <h:form id="EditCircuitForm">
    <h:panelGrid columns="2">
    <h:outputLabel value="CIRCUIT ID" rendered="#{LCCircuitUtil.circuitTO.circuitId > 0}"/>
    <h:outputLabel value="#{LCCircuitUtil.circuitTO.circuitId}" rendered="#{LCCircuitUtil.circuitTO.circuitId > 0}"/>
    <h:outputLabel value="Audit Comment"/>
    <h:inputText value="#{LCCircuitUtil.circuitTO.auditComment}"/>
    <h:outputLabel value="Start Date"/>
    <h:inputText value="#{LCCircuitUtil.circuitTO.startDate}"/>
                   <h:outputLabel value="End Date"/>
    <h:inputText value="#{LCCircuitUtil.circuitTO.endDate}"/>
                   <h:outputLabel value="Status"/>
    <h:inputText value="#{LCCircuitUtil.circuitTO.status}"/>
    </h:panelGrid>
              <h:commandButton value="Save" action="#{LCCircuitUtil.saveAction}"/>               
    <h:commandButton value="Cancel" action="return" immediate="true"/>
              <h:inputHidden value="#{LCCircuitUtil.circuitTO.circuitId}"/>     
    </h:form>
    Save Action in LCCircuitUtil.java
         public String saveAction()
              System.out.println("saveAction ");
         this.updateCircuit(circuitTO);
         System.out.println("End saveAction");
         return "return";
    Issue : I am not able to call saveAction from the edit.jsp..It does not call the save Action in the backhand Managed Bean
    Thanks,
    bk

    hi balusC,
    I have not set any validation criteria anywhere(may be later)..
    <h:panelGrid columns="2">
    <h:outputLabel value="CIRCUIT ID" rendered="#{LCCircuitUtil.circuitTO.circuitId > 0}"/>
    <h:outputLabel value="#{LCCircuitUtil.circuitTO.circuitId}" rendered="#{LCCircuitUtil.circuitTO.circuitId > 0}"/>
    <h:outputLabel value="Audit Comment"/>
    <h:inputText id="ip1" value="#{LCCircuitUtil.circuitTO.auditComment}"/>
    <h:outputLabel value="Start Date"/>
    <h:inputText id="ip2" value="#{LCCircuitUtil.circuitTO.startDate}"/>
                   <h:outputLabel value="End Date"/>
    <h:inputText id="ip3" value="#{LCCircuitUtil.circuitTO.endDate}"/>
                   <h:outputLabel value="Status"/>
    <h:inputText id="ip4" value="#{LCCircuitUtil.circuitTO.status}"/>
                   <h:message for="ip1" /><br>
                   <h:message for="ip2" /><br>
                   <h:message for="ip3" /><br>
                   <h:message for="ip4" /><br>               
    </h:panelGrid>
    I didn't receive any error messages..When i save it refreshes the same page.
    Thank you,
    bk
    Message was edited by:
    kbalas78

  • When a html coded page requires the Windows Symbol font, Firefox does not call it, and the English alphabet characters display instead. How can I get the Symbol font to work when the page is loaded in Firefox??

    ''duplicate of https://support.mozilla.com/en-US/questions/902677''
    This site shows Greek letters and Greek words by calling for the Windows Symbol font. The page(s) involved display correctly in Internet Explorer, but not in Firefox 3.6.1 or 8.1. In Firefox, the Greek letter does not appear, it is just replaced with the English letter for the equivalent keystroke. Here is a html line that ought to cause Symbol's Greek letter lowercase alpha to be displayed, but all you get is an "a" :
    (td width="60")(p align="center")(big)(strong)(font face="Symbol")(span style="font-family: , Symbol")a(/span)(/font)(/strong)(/big)(/td)
    **I have had to replace the left and right carets with left and right parentheses. Otherwise, the line actually executes, disappears, and just leaves a bolded "a" on the next line.***

    Reemphasizing, the page code works on Internet Explorer. It does _not_ work with Firefox ver 3.6.1 nor ver 8.0.1 (which I upgraded to, to see if that would solve the problem). The MDC FAQ solution is not a solution, because it forces the html coder to change his language just to accommodate Firefox. Firefox needs to change to conform to standards.
    What did work was that I followed the solution offered on:
    http://hutchinson.belmont.ma.us/tth/firefox3.html
    "How to reenable symbol font in Firefox 3 on Windows"
    <b>**********Solution*********</b>
    Download the file:
    http://hutchinson.belmont.ma.us/tth/symbol8859.otf
    Go to Control Panel/Fonts/Install New Font
    Install the font that was downloaded.
    <b>************Problem Solved*********</b>
    I think Firefox wants you to use _its_ font faces, not the standard Windows fonts. They do not have a Symbol font to replace the Windows TTF, I guess.

  • ABAP Proxy Inbound message does not call generated method

    Hi,
    we tried to generate a ABAP Proxy for a customer demo. It just should retrieve some data and write them to a database table.
    the generation and activation of the proxy was without errors. If we call the check function the method works fine.
    But if we receive data from XI via the regarding interface it looks as if the execute-method of the generated class is not called. We can see the message in SXMB_Moni, but nothing is written to the db table.
    Does someone have any idea?

    Hi Peter,
    There will be some error in the Proxy Side.
    Check this in Transaction Code-SXMB_MONI of Application System(R/3 etc) not in the XI system.
    There may be some communication(http etc) issues.
    Also check this -
    /people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy
    Hope this helps to findout what is the error.
    Regards,
    Moorthy

  • User WF-BATCH and BAPI_PO_RELEASE does not work without printer assigned

    Hello Gurus,
    The function BAPI_PO_RELEASE is used in our PO approval workflow, but this one does not work till the user WF_BATCH has no printer defined in USR01-SPLD. This is a strange behavior because the output message assigned to the PO has a message transmission medium equals to 5 (External send) => not print.
    Does someone have already met the same issue?
    How this could be solved without assigning a default printer to user WF_BATCH?
    Kind regards
    Chris

    Hello Tison,
    we're using also the WF-BATCH user having no default printer assigned and it works fine with the final release.
    However, there's usually the output message NEU with a prerequesite maintained that the PO has to be finally released. So this way there can be an additional output message found upon releasing. But we have a printer assigned using the condition records and we're not using the type that you've specified.
    So I'd guess that, indeed, the problem lies within the message. You could copy the WF-BATCH user to a dialog user and release the purchase order in dialog and see what happends.
    With the very best wishes,
       Florin

  • Getting an error -ORA-20001: FLEX-ID DOES NOT EXIST in migrating Assignment

    Hi,
    I am working on migration of persons data (Person/Assignment ) etc. in Oracle HRMS. While migration of Assignments data I am getting an error: ORA-20001: FLEX-ID DOES NOT EXIST.
    Please help me.
    Regards
    Sr
    Edited by: user10939296 on Jul 9, 2009 1:21 AM

    This error occurs as FLEX-ID for different combination for KFFs has not been generated. Therefore while migration your script is unable to fetch the Flex-id as they are not generated. You can work your way around by entering the possible combinations of KFFs for a single employee and eventually entering data for one employee manually.
    eg. if for People Group Flexfield there are two segments A and B
    A having LOV Corporate and Others
    B having LOV Executive and Non Executive
    Then you have to enter the possibilities from the frontend for one employee:
    Corporate.Executive
    Corporate.Non Executive
    Others.Executive
    Others.Non Executive
    HTH

  • Set_block_property does not called the query from the where clause

    Hi all,
    I have two blocks in the Oracle form 6i. Master link with the detail. Because of the data is quite huge if I have the auto query when the form is loaded hence I have two enter parameter created of From_date and To_date together with button to execute the query when that two parameter is being filled.
    I have the following quotes in the button of when-button-pressed :-
    BEGIN
    set_block_property('act_vw_sale_comm', default_where, 'invh_dt >='''|| to_date(:act_vw_sale_comm.fdate,'dd/mm/yyyy') ||''' and invh_dt <= ''' || to_date(:act_vw_sale_comm.tdate,'dd/mm/yyyy')||'');
    go_block('act_vw_sale_comm');
    execute_query;
    set_block_property('act_vw_sale_comm', default_where, '');
    END;
    However, nothing being displayed when I click on the button. Anything wrong on the above statement ? Please help me. thanks.
    Rgds
    Lim

    BEGIN
    go_block('act_vw_sale_comm');
    set_block_property('act_vw_sale_comm', default_where, 'invh_dt >= '''|| :FDATE ||''''' AND invh_dt <= '''|| :TDATE ||'''');
    execute_query;
    --set_block_property('act_vw_sale_comm', default_where, '');
    END;
    Now, I have the above statement, but still the same when try to execute the query, this time, the screen execute but does not show anything and close my form straight away. Why!
    Anyone can help me?
    Thanks
    Lim

  • Why Iconic button does not call a form thru popup menu?

    I am using Forms 6i Rel 6.0.8.11.3 with no patch after purchase in May 2001.
    I have a form with a vertical toolbar. There are buttons on this toolbar.
    I have attached Popup menus with these buttons. These popup menus are then
    calling respsctive forms.
    When I set Iconic property of these buttons to yes, the respctive forms are
    NOT called and no error message is displayed.
    However on setting Iconic property of these buttons to No, the buttons work fine.
    What is the reason.
    Pl. guide as I want to make these buttonds Iconic.
    Tariq

    Hi,
    no, an object that isn't rendered just doesn't work (its physically gone)
    Frank

  • JSP does not call the right method in controller class

    Hi all,
    I have a jsp file which loads a page at this address: http://localhost:8080/dir/list/
    I've added two checkboxes to the page; user can check both checkboxes, only one or none. Following is code I have in jsp file:
    <form class="checkboxForm">
    <c:choose>                                                                                                         
    <c:when test='${newItems==true}'>
    <input id="newItems" type="checkbox" value="#" name="newItems" class="checkbox2" checked="checked" /><strong> New Businesses   </strong>                                                                 
    </c:when>
    <c:otherwise>
    <input id="newItems" type="checkbox" value="#" name="newItems" class="checkbox2"/><strong> New Businesses   </strong>
    </c:otherwise>
    </c:choose>
    <c:choose>                                                                                                         
    <c:when test='${rejectedItems==true}'>
    <input id="rejectedItems" type="checkbox" value="#" name="rejectedItems" class="checkbox3" checked="checked"/><strong> Rejected Businesses   </strong>                                                                 
    </c:when>
    <c:otherwise>
    <input id="rejectedItems" type="checkbox" value="#" name="rejectedItems" class="checkbox3"/><strong> Rejected Businesses   </strong>
    </c:otherwise>
    </c:choose>
    <a href="#" onclick="apply();">
    <button name="apply" class="btn-primary" value="Apply" tabindex="4">Apply</button>
    </a>
    </form>
    <script type="text/javascript">
    function apply(){
         var newItems = document.getElementById("newItems").checked;
         var rejectedItems = document.getElementById("rejectedItems").checked;
         alert("Inside apply() method.");
         alert("newItems= " + newItems + ", rejectedItems: " + rejectedItems);     
         window.location = "<c:url value='/list/'/>" + newItems + "/" + rejectedItems;
         alert("window.location= " + window.location);
         alert("Add extra delay!");
         return false;
    </script>This is my Controller class:
    // Method1: this method gets called when the user loads the page for the first time.
    @RequestMapping(value="/list", method = RequestMethod.GET)
    public String list(Model model, HttpServletRequest request) {          
              System.out.println("Controller: method1: Passing through...");
              model.addAttribute("newItems", Boolean.TRUE);
              model.addAttribute("rejectedItems", Boolean.TRUE);
              // Does other things.
    // Method3: this method gets called when user checks/unchecks one of the checkboxes and clicks on Apply button.
    @RequestMapping(value="/list/{newItems}/{rejectedItems}", method = RequestMethod.GET)
    public String list(@PathVariable Boolean newItems, @PathVariable Boolean rejectedItems, Model model, HttpServletRequest request) {          
              System.out.println("Controller: method3: Passing through...");
              model.addAttribute("newItems", newItems);
              model.addAttribute("rejectedItems", rejectedItems);
    // Does other things.
         }The way my jsp code is written now, it calls the correct method and displays the correct url. When page loads for the first time, it calls method1 and the url is:
    http://localhost:8080/dir/list
    When the user checks/unchecks one or both checkboxes and clicks on apply button, method3 is called and this url is displayed:
    If both checkboxes are checked which both booleans are set to true:
    http://localhost:8080/dir/list/true/true
    Everything is fine... however, if I comment these two lines at the end of JavaScript apply() function,
    alert("window.location= " + window.location);
    alert("Add extra delay!");Then method3 will never gets called; only method1 gets called and I see this url:
    http://localhost:8080/url/list//?newItems=%23&rejectedItems=%23&apply=Apply
    I do not know why it gets confused bet. method1 and method3 and cannot pick the right method?
    I tried to use the POST method instead, but the page goes directly to our internal error page and it never reaches the method I wrote in my controller for POST:
    I don't really know what I'm doing wrong? Any help is greatly appraciated.
    Edited by: ronitt on Dec 13, 2011 2:35 PM

    I changed the <form> in the jsp to div and its working fine. I do not need to have comments in JavaScript funcion() anymore. I don't know why that made the difference though? According to:
    http://www.w3schools.com/tags/tag_form.asp
    The <form> tag is used to create an HTML form for user input.
    The <form> element can contain one or more of the following form elements:
    <input>
    <textarea>
    <button>
    <select>
    <option>
    <optgroup>
    <fieldset>
    <label>
    An HTML form is used to pass data to a server.
    I do have <button> and also send the data - the value of checkboxes - to server. So I think it should also work with <form>.
    Please let me know if you have any idea. Thanks.

  • Pricing routine is not called even after assigning it in pricing procedure.

    Hi
    I created a pricing routine (Condition value) for one ZCondition type. I saved it in the workbench request. Functional consultant assigned this pricing routine to condition in Pricing Procedure. The routine was called while creating a PO. It works perfect in development system. But after we transported to quality server the routine is not getting called. Routine is displayed in pricing procedure in quality server. Routine program also exists in quality server. But the program include statement is not found in standard program RV64ANNN in quality. But in development the include statement appears in this program. How this program was not modified in quality server after transport? Its a SAP standard program and it was not saved in any request and was not modified manually too.
    Can anyone explain me what could be the reason that the program RV64ANNN is not updated in quality server to include the routine?
    How can we update this program without modifying it manually?
    Would deleting the pricing routine and recreating it help resolve this problem?

    Hi,
    Refer to the following Notes:
    [Note 22808 - Transferring formulas|https://service.sap.com/sap/support/notes/22808]
    [Note 388998: VOFM: Check report for entries in TFRM/TFRMT|https://service.sap.com/sap/support/notes/388998]
    [Note 28683: PERFORM_NOT_FOUND: VOFM routine is not active|https://service.sap.com/sap/support/notes/28683]
    Note 22808 - Transferring formulas is the first place you should look.  FYI, there is a lot of information on this topic available by searching for SAP Notes that have "RV80HGEN" and/or "VOFM" as keywords.
    Regards,
    Jamie
    Edited by: James Gaddis on Mar 19, 2008 10:59 AM - Added an additional SAP Note number and comment about searching for more Notes.

  • Lync Server 2010 Mobility. Server does not call mobile.

    Hello all.
    We have an infrastructure with Lync Server 2010 SE, Edge Server, ISA.
    Everything works fine, Enterprise Voice is enabled and integrated with IP PBX.
    Lync 2010 desktop client can call to PSTN without any problem.
    But when user logs in to mobile client, iPhone Lync Mobility client for example, server tries to call to users' number but an error occurs, that user is not online, IM works just fine.
    The reason is - call goes to trunk in the following format 98XXXXXXX with normalization rules, server tries to call in e.164 format +7XXXXXXXXXX.
    Everybody knows how to normalize server calls?

    Open Lync Server Control Panel, click Voice Routing and then click Test Voice Routing, enter the dialed number to test with the Dial Plan and Voice Policy assigned to the caller.
    Lisa Zheng
    TechNet Community Support

  • FF Id from Target system, does not appear to be assigned

    Hi All,
    I have configured ECC as a Connector, and a FF id with below roles, in ECC. After Repository Sync, the table GRACUSER, shows FF id from ECC. However, while assinging Owner to FF id, the FF id from ECC, is not shown.
    SAP_GRAC_SPM_FFID
    SAP_GRC_FN_BASE
    SAP_GRC_FN_BUSINESS_USER
    Any clue, what needs to be done here

    HI Plaban
    What is your configuration parameter 4010 role? Is that role assigned to the FF Id (before you ran the sync)?
    Did you set the owner up as an Access Control Owner first?
    Have you checked to ensure you have sufficient authorization GRC to assign the FF Id?
    Regards
    Colleen

Maybe you are looking for