• Skip to primary navigation
  • Skip to main content

Tech Honey

The #1 Website for Oracle PL/SQL, OA Framework and HTML

  • Home
  • HTML
    • Tags in HTML
    • HTML Attributes
  • OA Framework
    • Item in OAF
    • Regions in OAF
    • General OAF Topics
  • Oracle
    • statement
    • function
    • clause
    • plsql
    • sql

How to capture Click of Submit Button

How to handle the click of Submit Button?

October 27, 2012 by techhoneyadmin

Submit button is a very important component of every OAF page and there often arises a situation where an OA Framework technical personnel need to handle the click of an OA Framework Submit Button dynamically.

We will learn today how to handle the click of Submit Button using OA framework code.

Before we begin I assume that you have an OAF page (xxTrialPG) and a controller (xxTrialCO). Also I assume that you have created a submit button bean OASubmitButtonBean(xxTrialSubmitButton)

 

Let’s take this in steps for easy understanding.

Step 1: Import the OASubmitButtonBean bean in your controller xxTrialCO

import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean

 

Note: The below code has to be written in the ProcessFormRequest method of the controller

Step 2: Create a handle or reference of the OASubmitButtonBean bean in controller

OASubmitButtonBean xxTrialSubmitButtonHandle = (OASubmitButtonBean) webBean.findChildRecursive(“xxTrialSubmitButton”);

 

Step 3: Now using the xxTrialSubmitButtonHandle handle created in step 2 we can capture the click of xxTrialSubmitButton

if(pageContext.getParameter(xxTrialSubmitButtonHandle!= null)

{
// perform required steps
}

 

And that’s it.
Thanks for Reading.

Filed Under: Items, OAF Miscellaneous Tagged With: button click event oaf page, Click of Submit Button, Click of Submit Button dynamically, How to capture Click of Submit Button, how to capture Click of Submit Button at runtime, how to capture Click of Submit Button dynamically in OAF, OA Framework Click of Submit Button, oaf check button press, OAF Click of Submit Button, OASubmitButtonBean

Copyright © 2025 · Parallax Pro on Genesis Framework · WordPress · Log in