Display page load progress bar...

I have a page which takes about 50-60 secs to load and I want to display some kind of progress bar indicating to the user that the page is loading. This page is a pop up page with a report returning a lot of data. I searched the forum and most of the progress bar examples are related to a button click event. However I want the progress bar to display before the entire page has been loaded.
I really need to get this done fast and any kind of help or suggestion will be really appreciated.
Thanks!

Hi Carl,
I have a similar issue to the one 'user549354' listed.
The application in this case is single page application with a couple of report regions, one of which takes about a minute for the query to return the result.
The example listed below by you, and another one I have found by Vikas, both fire a javascript-redirect off a button... The related forum posts are:
Long running process/query
Re: Long running process/query
but if you want the processing page off the initial url, this is not possible.
Yes, you could workaround it by showing a button on the initial page which the user has to press to see the processing page ... but that is not an ideal solution.
I am not very familiar with javascript, and have tried the following alternatives unsuccessfully
1) Using a url to a different (intermediate) page (say page # 2) which has a display as text item that renders the animated gif image, with following source
Please wait...
<img src="/i/processing3.gif" />
in combination with different types of processes (on load/after regions/after footer) which redirect to my original page (say page #1) by doing the following
begin
htp.init;
owa_util.redirect_url('f?p=&APP_ID.:1:&SESSION.::&DEBUG.:1:::');
end;
This does not show the intermediate page at all, just waits until the actual page loads.
2) use the display as text item mentioned above, and in the region source (html region) using the following:
<META HTTP-EQUIV=Refresh CONTENT="2;URL=f?p=&APP_ID.:1">
The problem here is that the animated gif becomes de-animated after the the number of seconds set in the code, in the above case 2 seconds.
3) using the page header and footer javascript mentioned in the links off your post, and trying to fire it from a url type region using the following codce
javascript:html_Submit_Progress(this);
This fails with error – object does not exist – presumably because this needs to be fired off an item – wonder if it will work off a link.
4) Various other permutations and combinations of the above…
You have mentioned in your last post on this thread that an intermediate page could be called, that will fire the progress bar, and then redirect to the slow loading page.
This is seems to exactly what I am after – with the url of the intermediate page being the initial url with which to access the application.
The problem is that I do not know
a)     where or how to fire the relevant javascript [javascript:html_Submit_Progress(this);] from, besides a button press, and also
b)     how to (then and only then) re-direct to the slow loading page, so as to ensure that the animated gif is displayed… using any of pre-submit process (on load… after footer) prevents the page and the animated gif from rendering.
I am sure that this is very much possible… any help would be very much appreciated.
Thanks.
Alex.

Similar Messages

  • Safari status bar no longer shows page load progress

    Hi...  Though it's been this way for a while now, perhaps since the start of whatever Safari version came along with OS X 10.8 Mountain Lion ??, I've finally become curious enough to ask about the following...
    In times gone by, the Safari status bar at the bottom of the page would show page loading progress...  You know, the old xx out of yy items complete or something like that???  But now, nothing...  Nothing at all in the Status Bar while a page is loading...  Nor is there a spinning gear in the URL line to show you something is going on...  Instead, all there is is the blue progress bar that slowly moves left to right across the URL box to show you what is happening...  And often that blue bar stalls where it just sits for quite a while...  And when that happens I never know the details of what is going on...
    Do I have something set up wrong???  Or did Apple decide we don't need to know what's going on while pages attempt to load???  I sometimes quit Safari when I have a secure page log on that appears to stall and all I have as feedback is a stalled blue progress bar... 
    All I ever see light up in the status bar is the URL of a link I might hover over on a page...  Otherwise, nothing...  That doesn't seem right...  Again, am I doing something wrong in the Status Bar set up or is that all the Status Bar ever shows now????  And if the latter, why would Apple have chosen to stop letting us observe page loading progress???  At least that used to tell me something was happening..  A blue progress bar that stops moving doesn't tell me anything useful... 
    Any thoughts or help on this would be much appreciated...  thanks...  bob...

    Mountain Lion 10.8.2
    Safari 6.0.2
    Robert Paris wrote:
    Do I have something set up wrong???
    Nothong is set up wrong.
    That is the way Safari works as far as I know.
    Best.

  • How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19

    How do I move the page-load progress meter from the bottom task bar to the top menu bar, or inside the top/header toolbar? I am currently using Firefox Version 3.6.19.
    URL Eaddress: [email protected]

    You see the orange (on Linux gray) Firefox button if the Menu Bar is hidden, so you need to hide the Menu bar to get the new appearance.<br />
    If you need to access the hidden Menu bar then press F10 or hold down the Alt key to make the Menu Bar appear temporarily.<br />
    You can place the Tab Bar on top.
    * View > Toolbars : [ ] Menu Bar
    * View > Toolbars : [X] Tabs on Top
    The Tab bar only appears on the title bar if the Firefox window is maximized.

  • How Do You Display The Rendering Progress Bar In The Windows Dock?

    Is there a preference/setting in Windows that allows you to display a rendering progress bar on the the app icon in the dock for AE the way Premiere does?

    No.
    Mylenium

  • My computer will not start up. It powers up I get the gray screen with the apple and get the loading progress bar it loads to 25% and the screen goes black

    My computer will not start up. It powers up, I get the gray screen with the apple, then the loading progress bar starts loading to about 25% the the screen goes black. what can I try to get my computer up and running?

    Carolyn Samit wrote:
    iMac, Mac OS X (10.7.1)
    Use Command + R for Lion Recovery
    Try restarting, when you hear the startup tone hold down the Option key. Then choose the Recovery Partition.

  • Where is my page loading indicator bar that used to appear in the address box?

    Just updated to FF 36.0.1. Now I no longer have the red bar that used to appear in my address box that showed the progress of a page loading. Do I need to set an option somewhere or is it an extension/plugin?

    If you had a progress bar in the address bar, I think that probably was created by an extension. Perhaps the extension needs to be updated? You can check for extension updates on the Add-ons page. Either:
    * Ctrl+Shift+a
    * "3-bar" menu button (or Tools menu) > Add-ons
    In the left column, click Extensions. Then on the right side, above the list, click the "gear" button and Check for Updates.
    Also, if the extension is disabled it will appear at the bottom of the list on a grayed background. Hopefully after any available update you can re-enable it in that case.
    Any improvement?

  • Disable or Customize initial Loading Progress Bar

    Is there a way to disable or customize the first progress bar
    that is displayed while the browser is downloading the MXML
    Application SWF?

    Hey Michael,
    Check out this thread on changing the loader:
    http://forums.adobe.com/message/2448040#2448040
    Short answer is, not in Flash Catalyst right now.
    But you can change it in Flash Builder with a little coding.
    Hope this helps,
    Tara

  • Displaying an Indeterminate Progress Bar While a DB2 Stored Proceedure Runs

    How do I display a dialog with an indeterminate progress bar while a DB2 query runs? Could anyone point me to an example or some strong docs?
    I learned Java about six months ago, so I'm relatively new to the language. Through searching and documentation, I've been able to find all the examples and answers I've needed so far. Now I've run into an issue I can't find anywhere. It seems like the most basic thing in the world. I have a DB2 stored procedure that takes about 5 minutes to run. While it's running, I want to display a simple dialog with a progress bar going back and forth (no buttons, no user interaction).
    I'm using Eclipse 3.3.1.1 as my IDE, and running the application from a JAR file. I have Java 1.6.0.30 installed. The DB2 query is running in response to a user clicking a button on the form (an ActionEvent). All of my forms are using Swing (JFrame, JDialog, etc.).
    The crux of my problem seems to be that I can bring up a dialog (which should contain the progress bar), but I can't get it to paint. All I get is a window that's the right size/location, but contains an after-image of what was behind it. I can't even get a dialog to display with a "Please Wait" label while the DB2 procedure runs.
    I tried separating both the DB2 stored procedure and the progress dialog into separate threads. I tried yielding in the DB2 thread to give the progress dialog a chance to update. I tried using invokeAndWait, but I got the following error:
    Exception in thread "AWT-EventQueue-0" java.lang.Error: Cannot call invokeAndWait from the event dispatcher thread
    It seems like I'm doing something wrong in my use of Theads, but I can't for the life of me figure out what it is. If anyone could help out a bit of a Java newbie, I would be extremely grateful.

    Demo:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class ProgressBarExample2 {
        private JProgressBar bar = new JProgressBar(0,99);
        private JButton button = new JButton("Lengthy operation");
        private ActionListener al = new ActionListener(){
           public void actionPerformed(ActionEvent evt) {
                button.setEnabled(false);
                bar.setIndeterminate(true);
                new Worker().execute();
        private class Worker extends SwingWorker<Boolean, Boolean>{
            protected Boolean doInBackground() {
                try {
                    Thread.sleep(10000); //10 secs
                } catch (InterruptedException e) {
                return Boolean.TRUE;
            protected void done() {
                button.setEnabled(true);
                bar.setIndeterminate(false);
        public static void main(String[] args) {
            EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new ProgressBarExample2();
        ProgressBarExample2() {
            button.addActionListener(al);
            JPanel cp = new JPanel();
            cp.add(button);
            cp.add(bar);
            JFrame f = new JFrame("ProgressBarExample2");
            f.setContentPane(cp);
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
    }

  • OS hangs at loading progress bar when restarting after Security Update

    I've searched for other people who have had issues with the Security Update, but my issue doesn't seem to have been solved. Here's the story:
    Just installed the new Security update. Shut the computer down for the night, started it up, and halfway through starting up it restarted itself again. It got past the grey Apple, the blue progress bar started loading, got to the end, but doesn't go anywhere. I've let it sit for 15 minutes, but no progress. The internal fan sounds like an airplane taking off, it just keeps going faster and nothing happens. Tried rebooting in safe mode, but it got hung up on the grey Apple and spinning wheel of death.
    Anything I can do from the Terminal to fix this?
    Thanks guys!

    cPants:
    Welcome to Apple Discussions.
    Have your tried:
    Repair Disk
    Insert Installer disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu (Panther and earlier) or Utilities menu (Tiger) and launch Disk Utility.
    Select your HDD (manufacturer ID) in the left panel.
    Select First Aid in the Main panel.
    (Check S.M.A.R.T Status of HDD at the bottom of right panel, and report if it says anything but Verified)
    Click Repair Disk on the bottom right.
    If DU reports disk does not need repairs quit DU and restart.
    If DU reports errors Repair again and again until DU reports disk is repaired.
    If DU reports errors it cannot repair you will need to use a utility like Tech Tool Pro or Disk Warrior
    Good luck.
    cornelius

  • How do I enable a loading progress bar?

    There's a spinning donut, but no pogress bar to show if anything is actually loading or how much has been loaded

    hello dhermosillo, the spinning throbber will be replaced by a progress bar in firefox 29, the next version scheduled to be released at the end of the month - the feature is currently in beta and if you want to test it, you can download it from https://play.google.com/store/apps/details?id=org.mozilla.firefox_beta

  • OSX 10.10: Is it normal to have a loading progress bar at each startup

    My MBP-13 (Mid 2010) has become very slow on startup and each time I start (from cold or re-start) it has a "process bar" as if an update is loading, on the Grey Screen where previous to the update there was just the Apple Logo. This began when I upgraded to Yosemite. Admittedly, my hard drive is a bit full (51 GB remaining) and that could be partly to blame for the slower startup, I feel like something is not quite right since the update. Earlier today on the left pane of my finder window, there were 5 versions of this MBP under the "Shared" column (5 versions of itself!). I thought this was strange so I did a restart and while it did take care of the 'ghost' shared versions of itself, it was still slow to startup again, and the progress bar was there again during the grey screen part of the startup process, as it is each time the computer starts.
    So My questions are:
    1. Is it normal to have that progress bar during startup with Yosemite when it was never there before the update?
    and
    2. What would cause this computer to show what I like to refer as 'ghost' versions of itself under the shared column on its own finder window left pane?
    Thanks in advance for any wisdom you may impart.
    Regard,
    Capt Ron

    1. Yes, the progress bar replaced the spinning gear. Haven't a clue why, but might be to mimic iOS devices ( I don't have any, so can't check).
    2,  Can't answer, since I share nothing.
    27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2

  • My iMac displays apple and progress bar then shuts off

    Hi I heard the apple bar erases the memory when this happens. Does anyone have another option?

    The progress bar usually indicates it is attempting a Safe Boot, which does clear some Caches. It doesn't erase the memory.
    First, try resetting NVRAM: http://support.apple.com/kb/HT1379
    Can you boot into Recovery? If so, try to repair the disk in Disk Utility.
    http://support.apple.com/kb/ht4718

  • Pages stop loading - progress bar gets 20 to 50% and it hangs

    No solution I have tried is working. I use ethernet and cable Modem- no WIFI/WLAN.

    Safari 5.0.1 or later: Slow or partial webpage loading, or webpage cannot be found

  • How can I remove the Loading Progress Bar that pops-up at the bottom of the screen and relocates its self every time i try to mouse over it ?

    I noticed that the latest beta of Firefox has brought a new feature, namely that grey box that pops up when you load a new page and displays the progress : loading... transferring .. and so on. I find that very annoying. How can I remove it ?
    I have tried from the Customize panel... but I haven't found anything related to that.

    @cor-el: Thank you for your help. Got the issue fixed.
    For those who are interested in a quick fix for this, go under (user profile depending on what OS you are using)\Mozilla\Firefox\Profiles\chrome , create a css file named userChrome.css (you have an example there... ) and paste in this code :
    @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
    #statusbar-display { display: none !important; }
    Not sure if it's really correct, but it removed that annoying Status-bar, so I'm satisfied with it.

  • 11.1.2.0 data form load progress bar

    We are not seeing circle progress/hourly glass when loading some large set of data. Form is rather showing no load status thus confusion to users whether it is doing anything.
    Please let me know if anyone has any advise or solution to get around this behavior. I see below fix from 11.1.2.1.000 patch set but my issue is with load not the save (when clicking GO to load form)
    • 9928211 If business rules are associated with a data form, a progress indicator needs to
    display when the data form is saved.
    Thanks much.

    At the end of day ..Does webform working perfectly???
    Cheers!
    Sh!va

Maybe you are looking for

  • Scanjet G3110 top-deck buttons don't work on Win 7 Pro 64-bit

    Scanjet G3110 Windows 7 Pro SP1 64-bit Downloaded and installed new drivers (2014-01-15 , Version14.5). Scanner works, but the top-deck buttons don't. No errors or warnings either during installation or while trying to use the scanner, but in the App

  • How to print Header page from Tray1 paper and Items page from Tray2 paper

    Hi,   I have requirement to print the Header data from Tray1 paper and Item details data from Tray2 paper,it should autometically pick paper from Tray1&Tray2...? Thanks in advance....

  • Please help! transfering songs between computers

    Hi, I recently got my own computer and am wondering how I can transfer (or even better, copy) the songs from my mom's computer to my new computer. Any suggestions? Thanks!

  • Clean up my mac.

    Can someone tell me how to clean my mac of unwanted downloads and apps which are not wanted anymore , but are slowing down my system please.          Have recently set up Parallels 9  , but cant believe that would slow my system down as much as it ha

  • Recent purchases not counting towards reward zone balance left

    I recently purchased a new laptop, and a few other things, and my reward zone says I still need to spend like $2,000 to keep my status of silver plus when I shoulf probably only need about $500-$700. im not being credit with my reward zone points eit