How to I cancel an af:poll, once it has been set

Hi.
I would like to know how to programmatically stop/cancel an "af:poll" once it has been initialized/started.
I have seen an example of whereby, Javascript is used via a clientlistener, to then perform an "event.cancel"; is there also a direct way within a backing bean to also cancel and/or stop the poll wth
Thanks.
Edited by: [email protected] on Jun 4, 2010 12:39 PM

You will need to implement your own BoundedRangeModel and handle stopping the af:poll.
Take a look at this example: http://www.oracle.com/technology/products/jdev/tips/fnimphius/progressbarcolor/index.html?_template=/ocom/print
Nick

Similar Messages

  • HT2397 How can I check what region my Macbook pro has been set at.

    How can I check what region my Macbook pro has been set at?

    It will have been set for the region in which it was purchased.
    http://support.apple.com/kb/HT2397
    Once you have set the region in DVD Player five times it cannot be changed. However see tis also:
    http://support.apple.com/kb/TA25416?viewlocale=en_US&locale=en_US
    Instead, use VLC to view videos from different regions:
    http://www.videolan.org/vlc/download-macosx.html

  • How can I cancel an update download once it has started?

    Firefox asks me to download an update to version 3.6.24 every time I go online. I do not wish to do so at this time. However, I hit the download button by accident and it began the download. I have paused it, but I want to know how I may stop it altogether (for this time). I have a Mac.

    The reply from cor-el assumes that the question was about an ordinary download, managed by the "Downloads" panel interface. A Firefox update does its downloading (before installation) with a different interface panel. I do not have a screen-capture of the actual panel in that it's appearance happened a few days ago and our final approach was to suspend the automatic download (note that that had been started in error), and then to do all the manual steps we usually would do for a deliberately, manually-started, update. But the "hanging in mid-air" update forced us to do that update in a way and at a time that we ordinarily would not do it.
    I still contend that the Firefox update progress panel (whatever it is labelled) does *'''NOT*''' have any obvious cancellation interface, not even the "x" noted above. (... and if it *only* had an "x", in my opinion that would not be a sufficiently obvious interface as compared to having a "Cancel" button.)
    I am replying in this thread on behalf of "shepdog" as I am our local desktop support for the particular Macintosh. Please consider this reply as a mark that the reply from cor-el, while it was a correct answer, was not an answer to the particular question that was asked, i.e., "Not Helpful".

  • HT1689 How do I cancel an automatic download once it has started on iPad?

    My iPad is trying to automatically download HD versions of TV series that I don't want on my iPad. I purchased them on my ATV, and have already viewed them.  I can stop the download, but not delete it.  It just sits in the queue.

    Try this - might work:
    •  Log out of your iTunes store account.  Go to Settings > Store > Sign Out Then press the Home button.
    • Then press and hold the Home and Sleep buttons simultaneously and don't release them when it brings up the Turn Off screen; keep holding them until the Apple logo appears.
    • After restart, the download may be gone.
     Cheers, Tom

  • How to get in to my iphone once it has been disable due to forgotten passcode thanks

    how to get in to my iphone4s  after it got disable due to forgotten passcode thanks

    easy
    Forgot passcode for your iPhone, iPad, or iPod touch, or your device is disabled - Apple Support

  • How to get rid of "remenber password" once it has been chosen incidentally

    I do not know why my email opens by itself without me typing in the password. I might have incidentally clicked the remember password button unintentionally. How could I change it back so that my email needs my password to open it. Thanks

    If you need to remove saved data then use these steps:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    See also:
    *https://support.mozilla.com/kb/make-firefox-remember-usernames-and-passwords

  • Once Imessage has been set up and sync between your ipad and iPhone. Then sign out of the imessage account on your ipad, if you were to sign back in would any conformation email or text be sent to you again informing you that you are now signed back in?

    I have the new iPad and iPhone 4s. iMessage has already been set up syncing these two devices before, but I am now logged out on my iMessage on the iPad but still logged in on the iPhone.
    My question is, if I sign back into the iMessage on my iPad will Apple send any confirmation to my Email address or phone number stating that I am now receiving iMessages etc on both the iPad and iPhone and that these's two devices are now synced again?!?
    *please note that the two devices have been previously set up for iMessage and synced to both receive them, it's just a case of me signing back in on the iPad, but I would like to know if Apple send any confirmation that a certain device is now receiving the messages also, I'm assuming they must for security reasons but I guess if you've already set up the two devices they might not.
    Any help would be great, thank you

    No need for alarm. There are several folks a day posting like threads. Most folks know these phishing attempts for what they are and merely delete with prejudice.
    To the bottom line... if you wish - and I am sure Apple will take notice - you should FORWARD the email to [email protected] and delete.
    CCC

  • How do you reassign a device to Mac OS once it has been assigned to the Windows OS using Parallels?

    How do you reassign a device to Mac OS once it has been assigned to the Windows OS using Parallels?  I've tried ejecting device and plugging in again.  I've tried restarting Mac and shutting down Mac completely, but never get the device window to pop up to select the Mac for the device.

    See:
    http://download.parallels.com/desktop/v5/docs/en/Parallels_Desktop_Users_Guide/2 6819.htm
    That is one topic from the guide, not the whole guide

  • How can I see how much I paid for an iBook once it's been downloaded?

    How can I see how much I paid for an iBook once it's been downloaded?

    A complete purchase History is also accessible from iTunes on a computer.

  • How can I allow a sub-vi to run independent of the main program once it has been called while still sending data to the sub-vi

    I have a main program where I call a sub-vi. In this sub-vi, there is a while loop that is used to wait for commands in the sub-vi. While the while loop is running, I cannot continue with normal operation of the main program. I would like get the sub-vi to run independently once it has been called, but not hold up the main program. As well, I need to still be able to send data to the sub-vi

    One way is to use VI Server, which has been mentioned by others. This will allow you to start another VI (by name) and run it entirely independently of the calling VI. This is a good way to start various independent VIs from a main menu, for example. None of the VIs thus called need have any connection to the others.
    Another way it to have the SubVI in a separate while loop on the calling VI's BD. Then, use a local var to start this sub VI from the main loop. The calling VI sets a local START bit and continues running. The sub VI's while loop watches for this START bit to go true, and then runs the Sub VI. The advantage here is that one can more easily pass arguments to the SubVI when it is started, using local vars, which are preferable to globals. Once the Su
    bVI is running, however, you must use a global Stop Bit, set in the calling VI, to stop it when the calling VI exits, or the calling VI will hang up, waiting for the Sub VI to close and exit its while loop.
    If you need an example of this, email me. ([email protected]). I can also recommend Gary W. Johnson's excellent book which discusses this. ("LabVIEW Graphical Programming", 2nd Ed).
    Note: Where possible, I try to call a subvi from within the main VI, wait till it is done, then continue. It avoids the use of locals & globals, and results in cleaner code, with fewer "race" conditions. However, the main VI stops until the subVI is done, hence one should make the subVI modal.

  • How to disable a button once it has been clicked

    Hi!
    I need to disable a button once the user has clicked it! I also need the colour of the button to change once it has been clicked as well (I need it to just grey out - not sure if this can be solved using actionscript??)
    The only method I could think of of accomplishing this is to put each button in their own UILoader, but I'm hoping there is a simpler method!?

    Here's what you do:
    1. Open the Components panel and drag a button on the Stage (do NOT create button symbol).
    2. For now, give it an instance name of "aButton" - that's what the code below uses. However, you probably want to use a different name. Also, you can open up the Components Inspector panel (CS4) to change the label on the button - use the Component Parameters section on the Properties panel if you have CS5.
    3. In the Actions panel use this code:
    aButton.addEventListener(MouseEvent.CLICK, disableButtonHandler);
    function disableButtonHandler(event:MouseEvent):void
         //do whatever (gotoAndStop, fscommand...)
         aButton.enabled = false;
    4. Test it. If it was done correctly (I tested it on my computer), the button should deactivate and go greyish when clicked.
    Make sure you use a Button Component. I don't know it this code would work with a Button or a MovieClip symbol.

  • How do I unlock my iPod touch when it has been disabled?

    How do I unlock my iPod touch when it has been disabled? My children can't remember the four digit pass code they entered and it is now disabled.

    Recovery mode...
    http://support.apple.com/kb/HT1808
    You may need to try this More than Once...
    Be sure to Follow ALL the Steps...
    But... if the Device has been Modified... this will Not necessarily work.

  • How to check with which user id a request has been transported

    Can anybody tell me how to find out with which id a request has been transported to a system?
    Regards,
    Sridevi

    Hi,
    To find who has moved the request.
    In STMS, Go to import overview(F5). Select the system in which you want to see who has moved the request.
    Then at the top menu, in GOTO select IMPORT HISTORY(Ctrl+F7).
    Once you are in import history, at the top menu in EDIT select DISPLAY MORE(Ctrl + Shift + F1).
    Then it will display the users list.
    Hope this helps you.
    Regards,
    Ravi

  • HT1438 how can you unlock an iphone 4 after is has been disabled?

    how can you unlock an iphone 4 after is has been disabled?

    Once the Device is asking to be Restored with iTunes... it is too late to save anything... and you must continue with the Recovery...
    See Here  >  http://support.apple.com/kb/HT1808
    You may need to try this More than Once...  Be sure to Follow ALL the Steps...
         After you have Recovered your Device...
    Re-Sync your Content or Restore from the most recent Backup...
    Restore from Backup  >  http://support.apple.com/kb/ht1766

  • Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode?

    Every time I start iTunes I get the message: "iTunes exec has been set to run in compatability mode for an older version of Windows. Turn off compatability mode for iTunes before you open it." How do I turn off the compatability mode? Particularly when I have to do it before I turn on iTunes.

    Try the following document, only be sure that none of the boxes in the compatibility mode tab are checked (not just the compatibility mode box itself):
    iTunes for Windows: How to turn off Compatibility Mode

Maybe you are looking for

  • Iphone 4 battery sometimes drains fast -- problem with Mail app?

    My iphone 4 battery often drains too quickly, and I wonder if it has something to do with my Mail App. When my phone is not playing nice, it drains at least 20% overnight while on Standby, and from 100% to 30% in around 6 hours when I use it during t

  • Create XML File from a specified XSD file

    Hi, I'd like to create an XML document with java. BUT How can we "bind" this creation with a XSD file. Hence, the creation may fail if the XSD binded file is not respected. So I know how to create XML file but not bind to this creation my proper XSD

  • How make the condition to connect correct database in mySQL or Java bean

    Is there can make a seting so when make a query to database. In my database enviroment, it consist of share database and individual database. If that individual database doesn't have that table specific in the query, it will search default database f

  • Xml validation ---- file system of PI ???

    hi all ,      i read the xml validation concept of PI7.1 . iam unable to find any practical explanation about the following "To validate the structure of a PI message payload, you should export the schemas from the ESR and save them in the file syste

  • Parameter not showing in Active parameter List.

    Dear Team, I have fresh Install SAP 4.7 with sql 200 on Windows 2000 server. After proper installation .I have activate the Profile. When I Edit the parameter  via RZ10 and then add new paramer i.e Login/no_automatic_user_sapsta    1 Proper save .The