Showing posts with label oasubmitbuttonbean in oaf. Show all posts
Showing posts with label oasubmitbuttonbean in oaf. Show all posts

Wednesday, 27 June 2018

oasubmitbuttonbean in oaf

oasubmitbuttonbean in oaf

oasubmitbuttonbean is used to capture the button click event in the OAF page. When user will click on the button in the OAF Page , then OA framework fires Submit event in the Page we capture this event to write our custom code with the help this  'oasubmitbuttonbean'. This is the bean in the OA framework to capture the Submit Button Events. Here below is the code in which we using this bean to capture the Submit button event . We use this code in the Process Form request Method of the Controller.
 
 

How to use oasubmitbuttonbean in oaf

 
oasubmitbuttonbean in oaf
 
 
OASubmitButtonBean xxbuttonhandle = (OASubmitButtonBean) webBean.findChildRecursive(“xxbuttonhandle”);
 
Step 3: Now using the xxbuttonhandle handle created in step 2 we can capture the click of xxbuttonhandle
This is here we will write code for Submit button , when user will click the Button then this below code will be executed.
if(pageContext.getParameter(xxbuttonhandle!= null)
{
//Custom Code
}

Contact us for any Collaboration, Project Support & On Job Support Work

Name

Email *

Message *