function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

"Please Wait" Status Message

Hey all,
As I continue to build my S-Controls,I'm stumbling upon some that are taking a bit longer to execute.  So my users know that the system is working and that the IE window is just not frozen, I want to present a pop-up status window stating something along the lines of "Please Wait...Records Being Processed" while a status bar moves below the messagte

I seem to recall one of the SControl examples posted either here, at Dreamforce or on the AppExchange possessing something like this for a Mass-Update use.

Anyone recall which it was?  I thought it was the "Mass Update Opportunities", but that doesn't seem to be the case.

Thanks, as always, for any input.

Ron HessRon Hess
Here is the please wait markup

HTML code

<body onload="setup();"> 
Please wait, cloning Action Plan {!SFDC_Action_Plan__c.Name}<br> with plan items ... 
<img src="/img/waiting_dots.gif" alt="Please wait..." title="Please wait..." height="20" width="196">

What you may discover is that if the browser is working really hard, the dots won't move...
try to use Async callbacks to free up the browser and the dots will move at bit anyway.

Another option is to display a DOJO modal dialog.

<div dojoType="dialog" id="please-wait-dialog"
     bgColor="gray" bgOpacity="0.5" toggle="fade"
    <b>Please Wait ...</b> <br> Loading ....
    This can take a min or two. Thanks

script to call this dialog looks like:


//do work  ...


You can find an example of this in the Explorer here.


Message Edited by cheenath on 04-03-2007 09:54 AM