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.

Similar Messages

  • A second non-functional progress bar is always visible on the status bar, how can I get rid of it?

    The second bar is inside of the sizing grip on the right side of the status bar. It does nothing, but take up space. The functional progress bar appears only when it is working inside of the message panel and outside of the authentication panel on the left side of the status bar. I've turned the status bar off and then on again--no luck. I've also tried disabling all add-ons--no luck. I've also changed themes--no luck. Do I need to re-install the browser?

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    If you have many extensions then you can first enable half of the extensions to test which half has the problem.
    Continue to divide the bad half that still has the issue until you find which one is causing it.

  • Progress bar is animated in one direction in Indeterminate mode

    Hello All:
    How to make Progress bar being animated in one direction in Indeterminate mode, like what determinate mode does? For example, a horizontal progress bar is always animated from left to right.
    And how to control animation speed in this mode?
    Thank you very much.
    Johnson

    How to make Progress bar being animated in one direction in
    Indeterminate mode, like what determinate mode does?Well the point of using indeterminate mode is that you don't know how long it will take. So what happens if the task takes longer than you think and the bar reaches the end? The user will think its frozen.
    And how to control animation speed in this mode?
    UIManager.put("ProgressBar.cycleTime", new Integer(3000)); // 3000 is the default

  • Copying multiple files (1000+) - Progress bar update is slow! Any ideas?

    When I copy 1000+ raw files from any drive to another it takes a long time before the copy progress bar shows up, and some times it just takes a long time before the progress is updated. When it is updated, it has already copied alot of the files. Quite annoying, because you don't really get if it has begun copying, if it's hanging or what... Seems to me that the new per-file progress bar takes up too many ressources!
    Btw I'm not on a slow system. 2.5 Quad core i7 MBP, 16GB RAM, OCZ Vertex 3 SSD...
    Anyone got any ideas on this?

    The progress bars have always been wonky. Can't judge a thing by them.
    File feedback here.

  • 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

  • When my Mac battery dies and I turn it back on, it always crashes on the grey screen with the progress bar, then it restarts (taking forever) and does not remember any of the programs I was running. MacBook Pro 13 inch running Mavericks

    When my Mac battery dies and I turn it back on, it always crashes on the grey screen with the progress bar, then it restarts (taking forever) and does not remember any of the programs I was running. MacBook Pro 13 inch running Mavericks

    http://osxdaily.com/2014/10/17/os-x-yosemite-installation-stuck/
    also use the Command-L to view logs during installation

  • Progress bar in a JProgressBar component is not always drawn

    Hi experts,
    I have a strange issue with a swing application. This app contains of a JFrame including a JTable. This table has multiple columns, one of them is a JProgressBar (implementing a TableCellRenderer). Multiple background threads are running, every of them updates one row's progress bar via the InvokeLater() method. This works fine.
    At a specific point within the runtime of the application, the value of a progress bar is set back to 0, and instead of the default percentage text a custom string is displayed (then continuing to progress with this custom text set). This works fine as well.
    Problem is, that when a custom string is set to one progress bar as described above, then the bars of the other JProgressBars are not painted any more. But the default percentage text of these other JProgressBars are still incremented and painted correctly. When the one progress bar, that has the custom string set, has finished and this row is removed from table, then the other progress bars are again painted correctly (including the default percentage text).
    A part of the custom TableCellRenderer class is shown here:
         public class ProgressRenderer extends JProgressBar implements TableCellRenderer
         public ProgressRenderer()
              super(SwingConstants.HORIZONTAL);
              setBorderPainted(false);
              setStringPainted(true);
         public Component getTableCellRendererComponent(JTable table, Object value,
              boolean isSelected, boolean hasFocus, int row, int column)
              if(value != null)
                   setValue(((JProgressBar) value).getValue());
                   setString(((JProgressBar) value).getString());
                   setMinimum(((JProgressBar) value).getMinimum());
                   setMaximum(((JProgressBar) value).getMaximum());
              return this;
    ...Any ideas what could be wrong here?
    I am really out of ideas here :(
    Thanks in advance for your help!
    Kind regards, Matthias

    I have solved the problem:
         public Component getTableCellRendererComponent(JTable table, Object value,
              boolean isSelected, boolean hasFocus, int row, int column)
              if(value != null)
                   setString(((JProgressBar) value).getString());
                   setMinimum(((JProgressBar) value).getMinimum());
                   setMaximum(((JProgressBar) value).getMaximum());
                   setValue(((JProgressBar) value).getValue());
              return this;
         }

  • TS1362 I have a Mac Pro tower, am running osx and iTunes will not work.. It basically just stopped working after having run faultlessly for...years... I can see all the songs, playlists etc, but the progress bar will not progress..it's 'stuck'. Suggestion

    I have a Mac Pro tower am running OSX and iTunes will not work. It has always worked flawlessly. I can see all my iTunes content- my playlists, my songs et cetera, But I cannot play anything. The progress bar is  'stuck'...any suggestions?

    Thanks. I have been using iTunes since its inception and have never had a problem...I'm using the latest version. The progress bar is the bar that moves when you're playing a song..it just won't start when I double click on a song,..have tried quitting, rebooting etc but nothing works. Apple are useless-they have told me twice they've tried to call me 'momentarily', but I've been waiting by the phone, and they definitely have not tried to call...

  • Adobe pdf printer save dialog box opens in the background - progress bar shows Not Responding

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he used the pdf printer for the first time(after opening the program and accepting the license agreement) he was in MS Excel '07 and chose file>print>Adobe PDF and then the progress bar came up and then showed not responding.  After he did this a couple of times with me standing there I noticed that the save dialog box was opening in the background because I could see the icon blinking on the taskbar.  He said that his old computer never did this and that it would always open up and ask where to save the file and never show 'not responding' on the progress bar.  The other person having the same issue is running the same version but she has had the program installed on her machine for a few months and an older version on before that. 
    Is there a way to make the dialog box show as soon as you print to the Adobe PDF printer?  What is causing this?  Is there another way to create a pdf from MS Office like the add-on? 

    I have two users who have Acrobat X Pro version 10.1.4 that are experiencing the same things.  First, one person just changed laptops and the new one has a fresh Windows 7 Enterprise X64 image and new installation of Adobe Acrobat X Pro.  When he used the pdf printer for the first time(after opening the program and accepting the license agreement) he was in MS Excel '07 and chose file>print>Adobe PDF and then the progress bar came up and then showed not responding.  After he did this a couple of times with me standing there I noticed that the save dialog box was opening in the background because I could see the icon blinking on the taskbar.  He said that his old computer never did this and that it would always open up and ask where to save the file and never show 'not responding' on the progress bar.  The other person having the same issue is running the same version but she has had the program installed on her machine for a few months and an older version on before that. 
    Is there a way to make the dialog box show as soon as you print to the Adobe PDF printer?  What is causing this?  Is there another way to create a pdf from MS Office like the add-on? 

  • IMac first shows progress bar on startup and then won't start up at all!

    Hi,
    My iMac's somewhat ill I'm afraid. When I power it up, the Apple gong goes and I see the grey Apple logo appear. Few seconds later an progress bar shows up and it doesn't fill, in a minute it'll just disappears and the spinning thing under the logo appears. I've been waiting for over an hour and still nothing happened. I've tried force-powering it off and boot it up again, but still the same results, this is very very very annoying, especially since I don't know what to do at all about this expect for a complete clean install, but that'll be the last option I want, because all my photo's are on it, etc.
    I've installed, an complete clean install, of Snow Leopard a month or two ago, and yesterday I powered the computer off the regular way.
    Thanks a lot in advance you guys!
    EDIT
    Another weird thing going on: I have my hard drive configured in two partition, one for Windows (sorry, needed to run AutoCad) and one for Mac OS. Now when I start up with the option button I get to see the two partitions and their names. My Mac drive now has got a different name, it's the same name, but with a " 1" behind it.
    When I select the partition on Windows Vista, it now shows these disturbing folders:
    http://i49.tinypic.com/2rxjpd3.jpg
    Message was edited by: RobinZ.

    HI and Welcome to Apple Discussions...
    Boot from your install disc and run Disk Utiity to see if there are errors on the startup disk that need repairing.
    Insert your install disk and Restart, holding down the "C" key until grey Apple appears.
    Go to Installer menu 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. It should say: 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.
    When you are finished with DU, from the Menu Bar, select Utilities/Startup Manager.
    Select your start up disk and click Restart
    While you have the Disk Utility window open, look at the bottom of the window. Where you see Capacity and Available. *Make sure there is always 10% to 15% free disk space*
    If you cannot boot from your install disc, try booting in Safe Mode
    What is Safe Mode
    *" because all my photo's are on it, etc."*
    If you can get the iMac to boot normally I suggest you back up those photos and any other important data to an external source ASAP in case there's a problem.
    No idea why you are seeing those folders in Windows. Boot from your install disc and see what's going on.
    Carolyn

  • 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

  • Missing Print Progress Bar--bug or feature?

    Since upgrading to Acrobat 8 Professional (v. 8.1.2) on a Mac Intel Quad-core running OS X 10.5.1, there is no progress bar when printing. I only know that printing is done by hovering over the "stoplight" buttons and noticing when they become responsive again. (The window itself does not become active until I click in it.) It's as if there *is* a progress bar window somewhere, but it's not visible, and it's not giving up "front window" status when it's done.
    Has anyone else noticed this behavior? It's not affecting function, it's merely annoying. But with the radical redesign of the interface from Acrobat 7 to Acrobat 8, I can't tell if this is a bug or a feature. Any insight will be welcome.
    Thanks,
    David Reiffel

    I am new to this problem, having recently upgraded to Intel Macs from Acrobat Pro 7. There is another issue that seems to have been missed both in this thread and the other one referenced by David above. When the progress bar is on-screen, there is also a cancel button. So now you have the situation where Acrobat is unable to report how far through a print job it is and you are also disallowed from cancelling the job without resorting to a Force Quit... Now, that's the sort of usability I'd pay good money for! The problem doesn't occur using a PowerMac G5, so the functionality is there, it just doesn't translate to the Intel platform. Adobe Reader 9 also prints without a progress bar, so it looks like the problem is here to stay unless a fuss is made and this becomes a 'known issue'
    I've raised this as a case with Adobe customer care on 1 September but this hasn't been addressed as yet. I'll post any follow-up I get here.

  • Is it possible to fit 2 progress bars within 1 (more)

    hi, I am implemented a client/server which streams music files, and plays them concurrently. I currently have a progress bar which indicates how much of the file has been downloaded.
    And I could also have a seperate progress bar indicated how much of the song has been played, but what i would really like to do, is have 1 progress bar, and have 2 actual bars moving inside it (each different colors), one indicated the download percentage (which should always be ahead) and the other indicating how much of the song has played (which will write over the download bar).
    Thus i would like to have both bars moving at the same time. I dont think this is possible, but if anyone has any ideas, I would love to hear them. Thanks!

    ok...so i got that working, and i am very grateful for your help. but i have ran into another problem:
    I want to set the two different progress bars to different colors, so you can distinguish them, so I looked at the API for fillRect says it uses the default color. so i looked in the JProgressBar to see if there is any function to change the color and there wasn't, so i tried g2g.setColor(Color.RED), and i got all these errors:
    java.lang.NoSuchFieldError: RED
    at client$JDoubleProgressBar.paintComponent(client.java:425)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithBuffer(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
    n Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Any ideas here?

  • I have an iphone 4 and I have just upgraded to iOS 5. I have lost my progress bar and song repeat function, how can I get them back?

    I have an iphone 4 and I have just upgraded to iOS 5. Unlike some people, I have not really had any problems but I am really annoyed with the new music feature. I have lost my progress bar abd song repeat function. Does anyone know how I can get them back?

    Glad to hear it all works for you.
    For future reference, if your iPhone misbehaves, always try a Reset. It's painless and often solves the problem.
       Press and hold both the Sleep/Wake button and the Home button for at least ten seconds, until the Apple logo appears (ignore the Slide to Power Off option that shows up first).
    Enjoy.

  • Why is there no progress bar in the iTunes Miniplayer? PLEASE UPDATE THIS! (iTunes 11)

    The progress bar show in the iTunes Miniplayer in previous versions was extremely practical and useful instead of having the entire window open or flipping between spaces, especially when multitasking on one space. Please update this ASAP! I have no idea why or how this was avoided!

    What makes -- that is, made -- the iTunes MiniPlayer truly useful was having a tiny window that's always visible regardless of the application you're using, that allows you to see and control track progress and volume along with the other key useful info and controls.
    Having to open a secondary window -- one that takes up much more screen real estste and doesn't even stay on top, and forces you to click or hover to see the progress bar -- to find one of these missing functions defeats the whole point of the MiniPlayer, which is to be convenient, visible and quick.
    Apple, please fix this. Some of the new functions are pretty cool, but you inadvertently killed the MiniPlayer's key functionality in the process.
    Thanks!
    Message was edited by: Olio

Maybe you are looking for

  • Xmlns attribute in 8.1.7

    I am trying to process an XML file with the Oracle 8.1.7 PL/SQL XDK. I'm using Steve's helper programs from the XML book. The problem is that the document in question uses XML Schema. My script chokes whenever I attempt anything with this file. After

  • How can I add an event to my calendar that occurs every third day...I have an ipad.

    How can I add an event to my calendar that occurs every third day?

  • It won't log in

    I have recently restored my PC and saved all my iTunes music to disk and all that. Now i've got the latest iTunes and have managed to get all my music into iTunes, but when i click on a song i have purchased it asks me to login, i do all that (passwo

  • Adobe 9, multimedia used and size

    A question before I purchase Adobe 9. I'm interested in the ability to put audio and video in a .pdf. The question is, will it be too large to email to customers? Currently, most .pdfs I convert are about 1MB or a little larger. Those email just fine

  • Printing multiple pages on one sheet not working.

    Hey All, I'm reasonably new to the mac environment and am having trouble getting pages to print multiple flyers on a single sheet. I've set the flyer up in Page Setup for it's actual size which is 4 x5.5inches. I've created the flyer within this size