Monday, 2 February 2015

How to prevent duplicate form submissions in OAF page submissions

How to prevent duplicate form submissions in OAF page submissions

In your processRequest  of the controller add the below code, once you submit the page, the page will get a hourclass that will avoid the user to click second time,

OAWebBean bodyBean = pageContext.getRootWebBean();
if (bodyBean instanceof OABodyBean)
{
((OABodyBean)bodyBean).setBlockOnEverySubmit(true);
}

No comments:

Post a Comment

In how many ways we can link the requisition to purchase order in oracle ebs

 In Oracle E-Business Suite (EBS) R12 / R12.2, a Purchase Requisition can be joined to a Purchase Order across 4 primary levels , depending ...