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

Uploading PO Attachments from EBS to FTP Server

 create or replace PROCEDURE xx_upload_po_attachment(errbuff out varchar2, retcode out number)  IS CURSOR cur_new_attmt IS    select ponumbe...