APEXblog.nl - Tips and Tricks

About This Blog:
I (Richard Weug) started this blog primary for myself to save all kinds of Apex tips and tricks in one place. To use it as a place to write down how I used some coding in my own projects, but also to copy and paste all kinds of articles I find on the Internet. (So I never have to wonder on what website did I read about??? When I see something interesting I collect the content so I have my own archive/knowlegde base.

View my profile on LinkedIn


Tips & Tricks


Process Message During Page Rendering

Written by Richard Weug. Posted in Tips and Tricks


In this blog post I discussed how the processing message can be shown when we have a page process that may take a while to process.  Sometimes the delay may occur when the page is being rendered.  We may not want the user to begin doing anything on the page until the whole page is loaded and rendered.

This can be done by calling the apex.widget.waitPopup() function.  Edit the page definition and add javaScript to call the function to the Header Text.  

<script type="text/javascript">

We add it to the header text in hopes that the waiting functionality will be executed early in page rendering.

Once our page is loaded we need to remove the loading bar and enable the page.  In the page definition we can add some code to the "Execute when Page Loads" field of JavaScript section.

$(window).load( function() {



*** Please use at your own discretion.  The only apex.widget function included in the documentation is apex.widget.initPageItem(pName,pOptions).  The function described here is not documented (as far as I can tell) and may be changed at anytime.

( Oracle Application Express (APEX) 4.2.4 )

Original article written by:  Process Message During Page Rendering

Not available at this time