1 Reply Latest reply: Sep 9, 2013 2:46 AM by Raghuatdell RSS

    How to prevent multiple clicks of submit buttons in OAF Pages

    Amit Goyal

      Hi All,


      Our page takes around 30 seconds to 1 minute for processing.

      Some users are not patient enough. I have tried putting the below code in my PR method.


      OAWebBean body = pageContext.getRootWebBean();

          if (body instanceof OABodyBean)





      This code disables submit button for some time. After few seconds, the submit button can be clicked again by the user.

      Also, if I click on other browser window and come back to OAF page, the submit button can be clicked again immediately.


      Have also searched OAF forum but didn't find any satisfactory answer.


      Need answer from Oracle on this. If not answered on the forum, will raise an SR.