Controller OAF super.processFormRequest and super.processRequest Oracle apps R12


Controller OAF super.processFormRequest and super.processRequest Oracle apps R12

If the super.process mentioned at the starting of the function then, it may not work.
So in that case mention the super.process at end of the function.

Below process is Wrong
-----------------------------
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean) {
super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
   
    if (oapagecontext.isLoggingEnabled(1))
                oapagecontext.writeDiagnostics(this,
                                               "funcid is" + oapagecontext.getParameter("OAFunc"),
                                               1);
}

======================================

Below process is Correct
-----------------------------

public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean) {
super.processRequest(oapagecontext, oawebbean);
    OAApplicationModule oaapplicationmodule = oapagecontext.getApplicationModule(oawebbean);
   
    if (oapagecontext.isLoggingEnabled(1))
                oapagecontext.writeDiagnostics(this,
                                               "funcid is" + oapagecontext.getParameter("OAFunc"),
                                               1);
super.processFormRequest(oapagecontext, oawebbean);
}

Comments

Popular posts from this blog

Run BI Report Web Service Multiple Parameter date format Oracle Fusion BI Report xmlpserver/services/v2/ReportService WSDL

Programmatically Create/Update User and assign roles in oracle Fusion using the REST Web Services Part 1

Oracle Fusion Multiple attachment for an Employee for a Single Document type HDL - HCM Data Loader