Progress bar in ADF

Hi,
I am trying to use a progress bar in a web page. After a user enters his log in details, the progress bar should display the status of the page being loaded.
Can anyone help me in implementing this using ADF progress bar component?
Thanks in advance.

Yes, of course there is a difference between af:progressBar and af:statusIndicator, otherwise, why would Oracle have made two components?
http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17491/toc.htm would be the place to read about them
And no, af:statusIndicator does not show you the progress of the page loading - as I've said already, I don't think there is any way you will be able to do that.
John

Similar Messages

  • Hovering Progress Bar is always 0 in ADF

    Hi
    I am using JDeveloper 11.1.1.6
    I am working in one implementation of a progress bar which has the following code,
    public class MyProfileExpectedProgressModel extends BoundedRangeModel {> public int total = 0;
    > private long _expValue = 0;
    > private long _expMaximum = 100;
    > public long getMaximum() {
    > return 100;
    > }
    > public long getValue() {
    > if (_expValue == 0) {
    > total = Integer.parseInt(ADFUtils.resolveExpression("#{bindings.ExpectedProgress.inputValue}").toString());
    > _expValue = Long.parseLong(ADFUtils.resolveExpression("#{bindings.Percentage.inputValue}").toString());
    > }
    > return _expValue;
    > }
    >
    > public void setValue(long value) {
    > _expValue = value;
    > }
    > public void setMaximum(long maximum) {
    > _expMaximum = maximum;
    > }
    > public void setTotal(int total) {
    > this.total = total;
    > }
    > public int getTotal() {
    > return total;
    > }
    > }
    This is my first time seeing the progress bar implementation but it shouldnt be that complicated. At the moment everything works as required, except that when I hover the Bar I see 0. The business wants to show the total value (the one that appears at the end of bar). No matter what I change, even though the bar changes position and all of that, it always shows 0 when hovered.
    Any sugesstions?

    Hi,
    Well, I just change the variable declaration to
    public int total = Integer.parseInt(ADFUtils.resolveExpression("#{bindings.ExpectedProgress.inputValue}").toString());
    private long _expValue = Long.parseLong(ADFUtils.resolveExpression("#{bindings.Percentage.inputValue}").toString());
    and now it shows. Since this bar is static throught all the user session I think the solution is ok.

  • How to use progress bar

    Hi
    I am using jdev11.1.1.5.0
    I have created an adf application in which i have a select many shuttle to display data from database.
    On the radio button change event i am setting another where clause on associated vo and re-executing vo.
    Now the problem is that the processing takes few seconds to fetch data from database according to where condition. For the time being I want to display a progress bar to user.
    How it is possible....?
    Thanks...

    Read http://myjdeveloperhints.blogspot.de/2010/12/add-glass-pane-to-long-running-db-job.html...
    Here it's an example http://myjdeveloperhints.blogspot.de/2010/12/add-glass-pane-to-long-running-db-job.html
    Timo

  • Progress Bar for file upload

    Dear sirs...
    i have an ADF UIX page that uploads an ORDVideo file. is it possible to display the progress in the upload operation using a progress bar for example???
    thanks for any help

    Did you get to know how to do it?
    Anuj

  • Help needed please, with Iphone stuck with apple picture and progress bar after software update attempted

    Help needed please, everytime I try to update the software version on my iphone it comes up with a message saying it could not be completed and is now frozen with the apple picture and progress bar on it. Do I unplug it and hope the macbook pro sees it again, I also stupidly did not back up before starting the download which I realise I will have to go back to the previous back up. This keeps happening, everytime I do this type of update, I'm starting to think I should just give up on updating my software on the Iphone. I thought it was happening because I was using a window based computer to do the updates, this time I used my Macbook Pro. Please somebody help

    ljm17 wrote:
    ...This keeps happening, everytime I do this type of update, I...
    Then you should know what you need to do... If you don't remember...
    See Here  >  http://support.apple.com/kb/HT1808

  • Problem installating Snow Leopard on old Macbook Pro with Intel Core 2 Duo. After creating partition on internal hard disk (Extended Journaled), installation starts but stops at half of the progress bar. Screen asking Restart appears.

    Hello:
    I have tried installing Snow Leopard via the installation disc on a Macbook Pro (2007) with an Intel Core 2 Duo, but I the installation has failed more than 5 times.
    I have first formatted and partitioned the internal hard disk with Mac Os Extended Journal format.
    Once the installation starts, it starts without a problem unti lthe progress bar gest until half completed then a screen asking for a Computer Restart shows up.
    It asks to press the power button for some time until it the computer shuts down and then, press again to turn it on.
    Once turned on, the installation disc gets readed, the installation screen appears again and asks again to start the whole installation process form the beginning.

    Then you have a Hardware Problem.
    Your system is Crashing part way through the install and Re-Booting because of the crash.
    Could be the drive itself or it could be some other hardware part in your system. Like the RAM.
    To check if it is the internal drive connect an External drive to the system by USB and do the install on that external. If the install completes then it more then likely the drive is bad. If it crashes again then it is more then likely some other piece of hardware in your system.

  • After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it.

    The page load progress bar that was on the lower right of the window is no longer there. After updating to the latest version of Firefox on my Mac there is no progress bar for the page load. I really miss this feature and can't seem to find a way to obtain it. The tab has a circular progress wheel but this is useless for determining a stuck or slow loading page.
    PLEASE NOTE: I am typing this in from a Windows based work computer but am asking about my Apple MacBook Pro that i use at home.

    Firefox 4 saves the previous session automatically, so there is no longer need for the dialog asking if you want to save the current session.<br />
    You can use "Firefox > History > Restore Previous Session" to get the previous session at any time.<br />
    There is also a "Restore Previous Session" button on the default <b>about:home</b> Home page.<br />
    Another possibility is to use:
    * [http://kb.mozillazine.org/Menu_differences Firefox (Tools) > Options] > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time"

  • When I try to empty trash, progress bar stops, and I have to reset finder

    This has been happening for about a week or so. Regardless of what the files are, I am unable to delete them. Whether I do a standard empty trash, or a secure empty trash, I end up with the same progress bar that stops during the process. I've let it sit for several minutes and over an hour, leaving me the only option of doing a force restart of finder.
    Currently I am unable to delete anything, putting a serious hold on my workflow.
    It appears that many people are having all kinds of trash issues with Snow Leopard. I'm assuming Apple is working on a fix, but I'm not sure when that's coming out. Until then, if there is some kind of work-around, I'd love to know about it.
    Any guesstimates on when Apple will release the next OS update?
    Cheers.
    Ben

    Start with http://www.thexlab.com/faqs/trash.html Do note that AFAIK, there aren't any trash issues with Snow Leopard, just the normal handful of common issues, usually fixed by the steps in the linked article.

  • Internet recovery gets stuck on the spinning globe with the progress bar below.

    Hello Everybody!
    I'm trying to fix the iMac (27-inch, Mid 2010) of my friend. He said it doesn't boot anymore and just gets stuck on the grey screen with the Apple logo and the spinning wheel below. So my first step was to go into the Startup Manager by pressing the Option key after the chime. There I was presented with the Macintosh HD and the Recovery HD. After selecting the Recovery HD to access the Disk Utilities I got stuck on the grey screen with the Apple logo and the spinning wheel again. So I guess the data on the drive is corrupted and might have to be replaced. But before I do that, I wanted to give the Internet Recovery a try. I connected the iMac to the internet using an ethernet cable and pressed Command + Option + R after the chime and the spinning globe appeared with the info: "starting recovery process from network. This may take a while". After a short time the sentences are replaced by a progress bar and a timer that is counting up. The progress bar then moved for a tiny little bit and then nothing happens anymore but the timer keeps counting up. I waited for quiet some time before I gave up. I did not get any errors so I can't provide any other useful information. Can anyone give my some advice? I read in other posts that the ISPs of specific countries block ports which are needed for the internet recovery. I'm in Thailand right now. Does anyone know if that might cause the problem?
    Thank you for all your help!

    Neither we nor Apple support jailbroken iDevices.

  • HT1212 My ipad mini has been crashing a lot recently so I started a system reset. However, it's now stuck with the progress bar less than a quarter gone: this has been the case for several days now. I have tried resetting from itunes but it needs the pass

    Now it's stuck with the progress bar less than a quarter full. I have also tried resetting through itunes which works right up to the point where itunes states that it needs the passcode to be inputted into the ipad to connect to it. At which point it then sticks at the same progress bar point. HELP!! please, this ipad is really important to my work.

    Well the term "hotlined" I have never heard before. In any case many states (like NY) just passed regulatory powers to the State Public Service Commission of which it may be called something different in your state. You could file a complaint with them. Or file a complaint with your state attorney generals office, they also take on wireless providers.
    The problem here is the staff you speak to are poorly trained, in days gone by it took one call to them and they pulled up your account and see the error and had the authority to remove any errors. They did not remove legitimate account actions, but used their heads instead of putting a customer off or worse lying to the customer.
    Its a shame you have to go through what you going through.
    Good Luck

  • Intel iMac - won't start - grey screen & progress bar

    I have a 2006 Intel iMac - 20" model, Intel Core Duo, 2GHz, 2GB RAM, 250GB HDD, etc.  It was one of the very earliest Intel iMacs.  Kept updated, running OS 10.6, etc.
    It has worked extremely well for over 5 years - apart from the Superdrive being temperamental sometimes - but has suddenly gone wrong.
    Last week the machine completely froze for no apparent reason.  I had to force a reboot.  This failed - grey screen and the grey spinning wheel (if that's what it's called), indefinitely.
    Forced reboot again and this time held down the shift key to go into safe boot mode.  This time it was successful, and I was able to get to the logon screen & log myself in.  I opened Disk Utility & attempted to do some diagnostics but the machine froze again.
    Looking around various other forum postings...I rebooted the machine in single user mode and was able to get to the command line to type 'fsck -fy' to attempt to fix disk problems.  This failed repeatedly, with an error message 'invalid node structure'.
    I tried to boot my machine from the OS X disc but my Superdrive refused to play ball - it would not read the disc (or any other disc for that matter, including a copy of DiskWarrior that I have).
    I have now got hold of an external DVD drive in the hope that this would show up as a boot device when I switch the machine on while holding the option key down.  No such luck - the drive powers up ok (power via USB) but I'm not given the option to boot from it - in fact that screen doesn't appear at all.
    All that happens now on powering up - regardless of what I do - is the grey apple symbol appears and a progress bar beneath it.  The progress bar gets stuck about 5% of the way along, and then after about 10 minutes it disappears and is replaced with the grey spinning wheel thingy.  And then it just gets stuck - nothing else happens.
    HELP!
    All my important data is backed up on an external drive via Time Machine, so that should be safe, but I'm desperate to get the machine running again.
    One thing that occurred to me is that I've had a program called ReFit installed on the machine which allowed me to run the machine as dual boot etc. (and I do have a couple of other small partitions on the drive, not currently used) but the ReFit welcome screen stopped appearing a couple of weeks ago for some reason.  I'm wondering if this has somehow messed things up...?
    Grateful for any suggestions...
    Thanks,
    Alan.

    For the drive, you should be OK with any SATA 2 at 3 MB/s transfer speed. You could also use a SATA 1, no jumpers needed. (Not SATA 3 - can't be jumpered down.) The early 2006 Intels were 1.5 MB/s -- at least the drives were, so I'm assuming the SATA controller on the logic board was also. Might just be SATA 2 hadn't yet been introduced and can run the faster SATA 3 without jumpers. My guess is not. You should be able to set jumpers on the drive for backwards compatibility. You'll have to contact the drive manufacturer or go to their website for that info.
    http://www.everymac.com/systems/apple/imac/stats/imac-core-2-duo-2.16-20-inch-sp ecs.html
    As for the superdrive, I'd contact the manufacturer to check on compatibility.
    Glad I'm able to help. BTW, in case you haven't noticed, maybe you want to have a look here.

  • Progress bar on start up doesn't finish

    When I log onto my MacBook Pro after I enter my password a progress bar appears which starts to move across but only goes about 20% of the way before the desktop appears. I have heard that there has been a problem with automatic updates which don't fully install and this could be a symptom of that. Unfortunately I now get a problem where the Desktop seems to freeze and I can't select items with the trackpad. I'm not sure if the two are linked or just a coincidence.

    That is normal. If you get to the Desktop and all is working you don't have a problem. But if you do have a problem, then you need to do this:
    Try these in order testing your system after each to see if it's back to normal:
    1. a. Resetting your Mac's PRAM and NVRAM
        b. Intel-based Macs: Resetting the System Management Controller (SMC)
    2. Restart the computer in Safe Mode, then restart again, normally. If this doesn't help, then:
         Boot to the Recovery HD: Restart the computer and after the chime press and hold down the
         COMMAND and R keys until the Utilities menu screen appears. Alternatively, restart the
         computer and after the chime press and hold down the OPTION key until the boot manager
         screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    3. Repair the Hard Drive and Permissions: Upon startup select Disk Utility from the Utilities menu. Repair the Hard Drive and Permissions as follows.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    4. Reinstall Yosemite: Reboot from the Recovery HD. Select Reinstall OS X from the Utilities menu, and click on the Continue button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.
    5. Reinstall Yosemite from Scratch:
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    How to Clean Install OS X Yosemite
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
                because it is three times faster than wireless.

  • Animated Progress Bar issues

    I am working with the animated progress bar from the late Carl Backstrom's demo applicaiton but to my amazement, the bar refuses to animate unless the javascript is triggered from a button press. This is not really acceptable for my purposes as I need to have it fire and work though an onLoad on the body attributes. Any Sugestions? I know some people are going to probably say ExtJS and JQuery but our development rules here will not allow us include either of these libraries at this time.

    It is actually an intermediate page with a PL/SQL process that runs on submit to cache database information from a remote db. I actually have a button on another page that routes into the page in question so that I can clear everything in the background to prevent people from being able to go to another page while loading process is under way. The way I have it setup now is you click a button to start a multistage process and you are taken to a loading page which basically takes away other links on the page and gives you a blank page with the progress bar. Once loading is finished, it branches the person to the next step.

  • Director 12 - progress bar

    I need to add a progress bar to the splash screen of a Director 12 .dcr which is hosted on a website.
    The progress bar doesn't have to show the exact time remaining before the main.dcr starts, it just gives the user a rough indication that "loading" is happening.
    I was thinking of using an animated .gif for this, making the .gif visible when the user clicks the Start button, but I don't knon how to do this in Director.
    Is there a standard way to make a loading-in-progress indicator in Director, for a web hosted .dcr?
    Thank you.

    Is this the kind of thing you are looking for?
    -- **Drop this Behavior on your progress bar**
    global gNetmovieID1
    global gCurrentSprite
    global gBarWidth
    global gBarConverter
    global gPercentText -- starts at 0% and ends at 100%
    global gStatList
    global gPercentDone
    on beginSprite me
      tellStreamStatus(TRUE) -- Turns on the stream status!!!
      floatPrecision = 2
      gCurrentSprite = me.spriteNum -- the current sprite "progress bar"
      gBarWidth = (sprite gCurrentSprite).width
      gBarConverter = (float(gBarWidth)) / 100
      gNetmovieID1 = preLoadNetThing("http://www.website.com/filename.dcr?p=" & string(random(1000) ) ) -- preLoads your hosted .dcr file!!!
    end
    on exitFrame me
      if Netdone(gNetmovieID1) = TRUE then
        gPercentText =  "100%"
        PLAY MOVIE ( "http://www.website.com/filename.dcr" ) -- plays your hosted .dcr file!!!
        abort
      else
        -- This checks the download status and updates the "progress bar" and the gPercentText
        gStatList = getStreamStatus(gNetmovieID1)
        if (gStatList.bytesSoFar > 0) then
          gPercentDone = (gStatList.bytesSoFar * 100.0001) / gStatList.bytesTotal
          (sprite gCurrentSprite).width = integer (gPercentDone * gBarConverter)
          gPercentText = string(integer(gPercentDone) & "%")
        else
          (sprite gCurrentSprite).width = 1
          gPercentText =  "0%"
        end if
      end if
    end if

  • How to determine a sql query size to display a progress bar

    I would like to show a progress of an sql query within a jsp page.
    Background:
    I have a reporting web application, where over 500 contacts can run reports based on different criteria such as date range....
    I current display a message stating 'executng query please wait', however the users (hate users) do not seem to wait, thereofore they decide to run the query all over again which affected my reportign sever query size (eventually this crashes, stopping all reports)
    Problem:
    The progress bar is not a problem, how would I determine the size of the query at runtime therefore adding the time onto my progress bar.

    Yes it's doable (we do it) but it sure ain't easy.
    We've got about 23,500,000 features (and counting) in a geodata database. Precise spatial selection algorithms are expensive. Really expensive.
    We cannot impose arbitrary limits on search criteria. If the client requires the whole database we are contractually obligated to provide it...
    For online searches We use statistics to approximate the number of features which a given query is likely to return... more or less the same way that the query optimiser behind any half decent (not mysql (5 alteast)) database management system does.
    We have a batch job which records how many features are linked to each distinct value of each search criteria... we just do the calculations (presuming a normal (flat) distribution) and...
    ... if the answer is more than a 100,000 we inform the user that the request must be "batched", and give them a form to fill out confirming there contact details. We run the extract overnight and send the user an email containing a link which allows them to download the result the next morning.
    ... if the answer is more than a million features we inform the user that the request must batched over the weekend... same deal as above, except we do it over the weekend to (a) discourage this; and (b) the official version ensure we have enough time to run the extract without impinging upon the maintenance window.
    ... if the answer is more than 5 million we display our brilliant "subscribe to our DVD service to get the latest version of the whole shebang every three months (or so), so you can kill your own blooody server with these ridiculous searches" form.
    Edited by: corlettk on Dec 5, 2007 11:12 AM

Maybe you are looking for

  • Problems with PSE 8 & Windows Live Photo Gallery

    I recently had to purchase a new laptop and it came preloaded with Windows 7. I installed PSE8 and have had no problems with photos I scanned,etc. But Windows 7 defaults import photos from my camera to Windows Live Photo Gallery. My problem is now I

  • [solved] pacman broken after "pacman -Syyu" excluding pacman

    Hi forums, I use arch x86_64, yaourt and the testing and multilib repositories. A full system upgrade doing "yaourt -Syyu" didn't work, because pacman had an unfulfilled dependancy which I don't recall, but it was about a normal and a multilib versio

  • Where is the data held in Max 3.0

    Hi, Not sure if this right place to post this but as MAX 3.0 was installed with labVIEW 7.0.....here goes.. With Max 2.0, the data assoicated for GPIB, VISA and IVI was held in two places, IVI.INI and VISACONF.INI. Now Max 3.0 arrives, so where has t

  • Restrictions distributing Acrobat Reader in China

    Does anyone know if there are restrictions to distributing Acrobat Reader in China? Thank you.

  • Errors within irreplaceable QT file

    I have created a QT (7.0.2) file with a third party app. Usually, the sound files are perfect. The biggest difference with this one is that the lid was closed during the recording. The file is 400+ meg in size and is vital to an internal investigatio