Show Loading icon during long PPR request?

Hi,
I have a 11g taskflow that loads a bpel tasklist which can take some time to load when the user has a lot of tasks. The pagefragment shows the tasks based on a view object. The view object is filled by calling the bpel api over soap which can take some time (did not get the rmi client to work with weblogic). When the view object is filled the UI shows the fetching data text but during loading the view object the UI stays on the calling page and to the user it looks like the application is not doing anything when he clicked the show tasklist page menu item while in fact the page is still loading. Is there a way to show a status/loading icon/component when PPR is loading the pagefragment that contains the task list? The fact that loading takes some time is not an issue but now the user has now idea if there is actually happening something. Showing the loading icon that is rendered at application startup during waiting would be great .....
Kind Regards,
Andre

Hi,
try af:progressIndicator
" The progressIndicator component can be used to give users an indication that there is a back end task in progress. A ProgressIndicator's state is tracked by the org.apache.myfaces.trinidad.model.BoundedRangeModel attached to this component through its 'value' attribute. The BoundedRangeModel provides a 'value' and a 'maximum' to the component. If either the 'value' or the 'maximum are negative numbers, the progressIndicator is in an indeterminate state and shows up as a spinner animation. If the 'value' is not negative (and the 'maximum' is negative), the progressIndicator is in a finished indeterminate state and shows up as a stopped spinner. When the 'value' and 'maximum' are non-negative values, the component switches to a determinate mode and renders a progress bar indicating percentage of task completion ('value' / 'maximum'). Each of these various states will show a hover description for that state Once the task is complete, if an 'action' has been assigned to the progressIndicator, then an ActionEvent is triggered.
The progressIndicator component can be used with a poll component from the page as a partial trigger, in order that it be updated at regular intervals in PPR mode as determined by the pollInterval from the poll component. "
<af:progressIndicator id="progId" value="#{boundedRangeModel}" />
value: The data model being used by this progress component. The model should be of type org.apache.myfaces.trinidad.model.BoundedRangeModel.
Frank

Similar Messages

  • Pages loading - but 'loading' icon no longer spins

    I've just noticed that the loading icon (in the address bar) is no longer spinning when a page is loading, in Safari 4.0.5. Pages load OK, and - it seems - no slower than usual, but what happened to the spinning progress cog? Resetting Safari makes no difference. Anyone else noticed the same thing?

    HI,
    That feature is no longer available in Safari but from the Safari Menu Bar click View/Show Status Bar.
    You can see the page loading activity there. (Bottom of the Safari window). Or, again from the Menu Bar click Window/Activity
    Carolyn

  • Show loading icon when video freezes

    Hi all
    I inserted a video into my movie clip. It freezes sometimes if internet connection is not fast enough but freezes at any frame. I want a loading icon displayed once it stops and disappear when it continues.
    Thank you

    try:
    yourloadingicon.visible=false;
    var fps:Number=stage.frameRate
    var startTime:Number=getTimer();
    this.addEventListener(Event.ENTER_FRAME,f);
    function f(e:Event){
    if(getTimer()-startTime>=1000){
    yourloadingicon.visible=true
    } else {
    yourloadingicon.visible=false;
    startTime=getTimer();

  • Loading icons during applet class init

    I load a bunch of icons thusly:
        ImageIcon[] typeIcons = {
            null,
            createImageIcon("context_icon", "Context"),
            createImageIcon("featureset_icon", "featureset"),
            createImageIcon("format_icon", "format"),
            createImageIcon("raster_icon", "grid"),
            createImageIcon("projection_icon", "projection")
        static ImageIcon createImageIcon(String name, String alt) {
            URL url = FeatureEditor.class.getResource(name + ".png");
            if(url == null)
                throw new IllegalArgumentException("No such image as " + name);
            return new ImageIcon(url, alt);
        }And display them as table cells.
    That works ok, but why does it go screwy on me if I make the typeIcons array static? (The TableCellRenderer complains that the objects are of the wrong type).
    I can't see why icon loading can't be initiated during class initialisation rather than in object initialisation.

    Where the method is defined in the source code won't help- it will get called during the initialisation of the array just as before. Is there really no other class object available that you can use instead for the base of your resources? If there's nothing else in your package, then use Object.class and give the full path, rather than a relative one (assuming you're using the default class loader).
    Pete

  • MBP stuck on blue screen with spinning loading icon during update to 10.6.7

    I have a mid-2010 model Macbook Pro 13inch, 2.4ghz/4gb ram
    I've been scouring apple forums and even reddit and my googlefu has yielded no such luck. Basically, System Update has been yelling at me for a few weeks now to upgrade to 10.6.7 (among other updates) and I've been putting it off and putting it off, with the intention of eventually doing the update, but I just kept forgetting.
    Finally tonight, I remembered, and decided to open System Update, and do all the recommended updates that it was asking me to do. So, without thinking twice (I've never had an issue with this before) I clicked download and install, and away it went, downloading like usual and then rebooting.
    Thing is, it's been stuck at this blue screen with the spinning spiral coming up on 5 hours now. I know the 10.6.7 update was close to 400mb, but I've never had anything like this happen before.
    My hard drive had more than 150 gigs free on it last time I checked, and it's been running absolutely flawless up until now.
    Has anyone else experienced this? Is it supposed to take so long? What do I do?
    I've been contemplating shutting it down by holding the power button, but since it's a OS update I'm afraid the drive will be corrupted, and unfortunately I don't have a current backup of the drive either... Help

    I left my macbook plugged in over night, we're now going on 14 hours of this blue screen with the spinning wheel/symbol. Anyone?

  • HELP!!! LOADING ICON SHOWS EVERY 5 SECONDS FOR ABOUT 3SECONDS!

    I have a BlackBerry Curve 9250 for about 7 months now. I have no problems with my phone and it works well and I love it. But something must have happened cause the black loading icon on the center of the screen keeps on showing every 5 seconds for about 3seconds and my phone freezes everytime the loading icon appears.
    I left the house in the morning, my phone's battery is fully charged. I did nothing special with my phone, just the usual calls and texts. I didn't download any apps either. But I was using wifi during the day so when afternoon came, the battery was already orange. When I arrived home around 10 in the evening, I checked my phone and the battery was already red so I plugged it in to charge. When it started charging, that's when the loading icon started appearing. It appears every 5seconds and it freezes the screen for about 3seconds. Now that the battery is fully charged, it still does the same thing. But now, it appears every 3 seconds and freezes for about 2seconds. What to do????

    Hi yenbaluyut
    Welcome to BlackBerry Support Forums
    Have you tried a Battery pull Restart on your BlackBerry ? 
    Please do it by removing the Battery while your device is Powered On then wait for at least a minute then reinsert it back, your device may take a long reboot . After reboot please check if your current issue resolves.
    If issue persists then you have to investigate it further ! That spining clock or hourglass appears when our device undergo low memory or if any application runs in the background. Sometime A battery pull restart is enough to resolve this issue, If we press and hold the Menu for a few seconds, it will pop up a screen which will show all running programs in the background ,generally five will always there ( Home, BBM, Message,Phone , Browser ) look if any other apps. are running.
    Also Check the File Free at Options > Status > Check File Free , In addition have you enabled Memory Cleaner on your device?  Options > Security > Memory Cleaner,  is it enabled ? If it is then disable it because  It is also responsible for device  freezing and clocking.
    If that doesn't help then you can follow this Knowledge Base article :
    KB10307 : The Hourglass or clock symbol spins continuously on the BlackBerry smartphone
    Click " Like " if you want to Thank someone.
    If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it.

  • I can not eject my ipod as the device icon no longer shows up

    I can not eject my ipod from Itunes as the device icon no longer shows up in Itunes.  I looked on line but none of the solutions were possible to follow as the various options indicated just weren't there!

    Hello scheherazada,
    Thank you for using Apple Support Communities. 
    Here is an article for you to start with your troubleshooting to get your  iPod recognized. 
    iPod: Appears in Windows but not in iTunes - Apple Support
    Regards,
    Jeff D. 

  • I have iPad 4th Generation with iOS 6.1.3  Since my iBooks was updated to version 3.1.1 I cannot open pdf file attachment in my email.  When I tap of the attachment, the iBooks icon no longer show itself.  Can someone please help?

    I have iPad 4th Generation with iOS 6.1.3  Since my iBooks was updated to version 3.1.1 I cannot open pdf file attachment in my email.  When I tap of the attachment, the iBooks icon no longer show itself.  Can someone please help?

    Thanks for all (Ocean20 & Courcoul) who replied. 
    Reset the device did not help me but it does triggers me to attempt to resend the PDF file attachment on email--and it works the 2nd time.  My problem is now solved.
    The Adobe Reader is very helpful--it allows me to scroll through the document easily, unlike iBooks, where I cannot scroll straight up or down.

  • I uninstalled Foxrire because it is loading mulitble copies but NOT showing an icon.

    Foxfire is loading multiable copies. If I open Foxfire it will show an icon. When I close Foxfire the icon is not shown. But if I try to un install Foxfire I get a dialog box telling me to close Foxfire. There is nothing to close. When I shut off my computer I see the Foxfire dialog box "Save files, Quit, Cancle" in the upper right corner for about 1 to 2 cseconds before shout down. Everything operates very slow.
    I uninstalled Foxfire and I am using Internet Expolrer. Fix Foxfire.

    You are in Recovery Mode. Follow the instructions below to recover your iPad.
    http://support.apple.com/kb/ht4097

  • My iphone 5s continuously shows this loading icon on the top!

    After updating to ios 7.1, my iphone 5s continuously shows this loading icon
    next to battery icon, never saw it before updating... location services off, background refresh off, any body knows why this is happening ?!!
    plzzzz

    I have got the same problem (iPhone 5 iOs 7.01) ... I have turned every possible connection off but it continues... :-O any help?

  • QT 7 Icon no longer showing since 10.6.7 update

    Hello,
    QT 7 Icon no longer showing since 10.6.7 update
    Realized the QT icon is missing when I was doing command-tab to move through apps. Just a blank space.
    It also is not showing in my dock. Just a blank space.
    The icon appears next to the title in my applications folder.
    Any ideas why or how to fix?
    QT X icon visible. (Never use it as it isn't very smart)
    Thanks!

    updating.. It looks as though as soon as I open an app, the icon disappears.
    I looked in console, (whose icon disappeared) and these messages showed
    3/24/11 Mar 24, 2:45:15 PM Dock[165] DockUtilCreateImageFromIcon: PlotIconRefInContext failed -2582
    3/24/11 Mar 24, 2:48:50 PM Dock[165] DockUtilCreateImageFromIcon: PlotIconRefInContext failed -2582
    3/24/11 Mar 24, 2:59:53 PM Dock[165] DockUtilCreateImageFromIcon: PlotIconRefInContext failed -2582
    3/24/11 Mar 24, 3:03:09 PM Dock[165] DockUtilCreateImageFromIcon: PlotIconRefInContext failed -2582
    Message was edited by: Hanuman Hoffman

  • Loading icon shows up

    I recently got a brand new blackberry, haven't dropped it or anything all i've done is loaded some new apps on it, and the loading icon keeps showing up. I can still go through all the screens but it keeps popping up, very annoying, if any one has any answer please respond!!
    Thanks

    I wouldn't think so, you have plenty of free memory. Are you using facebook? Are you closing your apps properly? Check what is running in the background by holding down the ALT key and pressing and releasing the back key to the right of your trackball. The only things that should be there are browser, PTT, BB messenger, home, messages and phone. If there is anything else there hightlight it and let go of the alt key to open it, then close it properly by hitting the menu key and selecting close or exit. Also click on your browser icon. Hit the menu key and select options then cache operations. Clear all listed. Then hit the back key. Then finally do a battery pull with the phone on and leave it out for 30 seconds. Replace it. Any change?
    ~Lorrie~ Master of All Things Blackberry!

  • Any reason for the long sporadic loading times during reboot

    Hi guys,
    Just wanna find out more abt my experiences of encountering long loading times during a restart (up to 5mins). I do see the apple logo and the spinning wheel and it spins for like 2 mins, moves on the an all blue screen and fixed there for another 1 min and then the loading OS X meter. I suspect that the long loading time could be the cause of new softwares that I've installed or that I didn't reboot for days. Anyone care to share their experience and views on this? Is this normal? I feel that its long because usually restarting only take 1min or so to reach my log in screen.

    15 seconds for a restart here ... something's not right with 2-5 minutes.
    - If you login as another user does it take as long?
    - Have you run Disc Utility and Repaired Permissions lately?
    - What about running the Daily and Weekly 'chron' jobs? (OnyX or MacJanitor etc)
    - Have you got haxies or similar extras in your StartUp folder?

  • I deleted Nook on my IPAd because I could not download a new purchase.  In trying to reinstall Nook, I was able to download to my pc but on my IPAD, it shows loading under the Nook icon and never gets loaded.

    Then I downloaded Nook app again to ITUNES.   It downloaded OK but when syncing the IPAD to my computer the app never fully downloads.  The app icon shows "loading" and it nevers finishes

    Here you are "the strange draft logos"...

  • Loading icon for activity longer than 2 seconds

    I'm using richfaces and seam components
    How can I implement this loading icon.. I need something like gmail
    thanks

    Thanks for your reply
    Yes ok javascript and absolute div, but I mean..
    I need to invoke on each component the onclick method that calls a js function(), and this func after 2sec shows this div , I thinks this is the only way .. (calling every time the js inside the onclick funcion)
    I wonder if there are other ways..?!

Maybe you are looking for

  • Issues with query using joins in 3 tables

    I am trying to fetch data from 3 tables (Project,RIsk and Issues) using join. There are Risks associated with some projects and Issues associated with some projects. ProjectID is primary key in Project table. RiskID is primary key in risk table. P

  • Using conditional comments for IE7

    I'm working on my first try at applying a conditional comment. My page looks ok in browser lab for all browsers except IE7, which appears to need a change in left padding on a particular div. My main css for that div looks like this: #div { padding-t

  • Sandboxd error messages

    I seem to get a variety of sandboxd related error messages that I have no idea how to solve. I've tried looking here, but none of the topics have quite had the exact same issue. As background - I recently bought a 15" retina MacBook Pro, and used Tim

  • What happened to Aurora? It suddenly became Firefox Developer Edition on my computer. My bookmarks and addons all disappeared.

    I think Aurora updated before I turned off my computer. When I booted up again, Firefox Developer Edition appeared in place of Aurora. My bookmarks and addons all disappeared.

  • Final entry indicator in SES

    Hi Gurus, I would like to ask if there's a way to set the "final entry" indicator on accepted SES without revoking its acceptance. We have lots of SES that we need to set as final entry so that it would not appear as "open" on Purchase Orders. Any he