Automatically close a af:popup after X seconds

Hi everybody,
Is there a way to close automatically a popup after X seconds ?
I don't see a solution for now and users don't want to click on the "Ok" button...
Thanks for your help,
Vincent.

Or if you don't want to use a note window, you can put an af:poll component in the popup and close the popup in the pollListener attached to the poll component close the popup.
Timo

Similar Messages

  • How : Close PopUp after 10 seconds

    Hello I have a popup with a info text .  The popup should close after 10 seconds.
    I have create I View in the PopUp with a TimeTrigger and this TimeTrigger fire the Exit Plug of the PopUp window.
    but it doesn't work
    PopUp Cal :
      data: context_node type ref to if_wd_context_node.
      data: lr_popup type ref to if_wd_window,
            lr_view_controller type ref to if_wd_view_controller.
      data: lr_api_comp_controller type ref to if_wd_component,
            lr_window_manager type ref to if_wd_window_manager.
      lr_api_comp_controller ?= wd_this->wd_get_api( ).
      lr_window_manager = lr_api_comp_controller->get_window_manager( ).
      lr_popup = lr_window_manager->create_window(
      modal               = abap_true
      window_name         = 'W_POPCOUNTER'  "Name of the window created in step 2
      title               = 'Please enter all information'
      close_button        = abap_true
      button_kind         = if_wd_window=>CO_BUTTON_OK
      message_type        = if_wd_window=>co_msg_type_warning
      close_in_any_case   = abap_false
    *MESSAGE_DISPLAY_MODE = MESSAGE_DISPLAY_MODE
      lr_popup->open( ).

    Thanks for your soultion.  Now I have the problem that my abap code not wait until the popup is closed.
    Have you a solution for this ?
      lr_popup = lr_window_manager->create_window(
      modal               = abap_true
      window_name         = 'W_POPCOUNTER'  "Name of the window created in step 2
      title               = 'Please enter all information'
      close_button        = abap_true
      button_kind         = if_wd_window=>co_button_ok
      message_type        = if_wd_window=>co_msg_type_warning
      close_in_any_case   = abap_false
    *MESSAGE_DISPLAY_MODE = MESSAGE_DISPLAY_MODE
      lr_popup->open( ).
    '/// Not Waitung
    concatenate lv_numbersessions_str ' Active User Session from  ' iv_sid ' on system are killed' into g_text.

  • How to automatically close all the popups on application logout

    Hello everybody,
    I am a new member in the forum. I am facing a requirement in which when i click on the logout button of the application all the opened popups should be automatically closed.
    Can anyone guide me in this regard.
    thanks
    raghu kokku

    Register a shutdown hook for each popup E.G.
               Runtime.getRuntime().addShutdownHook(new Thread()
                    public void run()
                        // Code to close the popup
                });

  • How can I automatically close a PDF document after it is done printing?

    Hello all,
    To cut to the chase I am using the System Exec.VI to open a PDF with Adobe Reader 8.0 and printing the document.  I can do this without a problem.  The problem is I would like to have this window close automatically when it is done printing.  I have seen on the web that the switch to make this happen is /t, but for some reason my pdf doc is not closing.  My command line looks like this
    "C:\Program Files\Adobe\Reader 8.0\Reader\AcroRd32.exe" /t  "path to the file" "default printer name"
    Is there another way to terminate the window not using switches in the command line statement?
    I have tried using active x calls to open the doc and print but I am not seeing any print options in the active x calls.  I have searched thourgh a large portion of the classes and could not find any print statements.  I have also tried opening the doc with the system exec.vi and priting and then closing it with active x but I get an error message back.
    Has anyone had any success in opening a pdf doc, printing and then closing the window automatically afterwards? 

    Hi gammalight,
    i use Adobe Reader 7.0 and it works in this way for me. The document is printed with the default printer.
    Mike
    Message Edited by MikeS81 on 03-28-2008 04:26 PM
    Attachments:
    Unbenannt.PNG ‏5 KB

  • Acrobat XI Pro automatically closes itself with no messages etc. after few seconds

    Greetings all,
    I don't know why but my Acrobat XI Pro (11.0.0) automatically closes itself (with no warning, no messages etc.) after few seconds. I installed the AXI as a part of the CS6 Master Collection on my Windows 8 (x64) laptop. Just as suggested at some other posts in the forum:
    I checked the "security settings (enhanced)" tab but the protected view option is already off.
    I searched for the eula.exe under the "Program Files (x86)\Adobe\Acrobat 11.0" folder but there is no eula.exe. May it be not present because I installed it as a part of CS6 Master Coll. package?
    I am using Eset Endpoint Antivirus as a third party Anti Virus Software.
    The problem occurs when:
    I open up a pdf file from outlook etc.
    I manually open a pdf file from windows explorer
    I open adobe acrobat with no file to view
    As I mentioned above, I see no error messages or warnings during the closing down. It acts as if I clicked the close button on the top right corner. I know that there are a lot of posts in the forum about this issue, but none of them helped me to solve my problem. I would be glad if you can help me with this problem.
    Thanks,

    Hey i was having this issue also with Adobe Acrobat pro... it only seemed to be affecting one program that produced PDF output automatically. When the processes finished the PDF is supposed to be displayed and instead it would rapidly flash across the screen and close. THen i would have to hunt for the PDF to review its content. I tried a couple of things like deleting my preferences for acrobat C:\Users\[your user name]\AppData\Local\Adobe\Acrobat\10.0. You might have to show hidden files. In the explorer window select Organize-> Folder and search options-> once that opens view -> check show hidden files, folders and drives. then navigate that path above. Make sure adobe is closed then delete everything in there or move it off to another folder if your worried it will break it further.
    That did not fix the problem though. I opened the application and ran my process again same results (adobe closes pdf auttmagically). so i opened adobe acrobat and navigated to Edit -> Preferences -> look under the General tab and click the select default PDF handler and that seemed to fix my problem. I also disabled the enhanced security look further down in that list under security enhanced. then a reboot so it is possible that the enhance security setting was the cause i think i will play with that for a minute to see if it was but i think my issue was the default handling. good luck

  • Swing popup to close after X seconds

    How to show an another window (a popup or something) in main swing window which will close after about 10 seconds?

    Use a timer that is initalized in the constructor of the window you want to close after x seconds..
    myWindow = new myWindowClass("This is a display message", 10);
    once the timer expires you can just have the window close.

  • I-photo has been working brilliantly until after my last update. Now it automatically closes after 10 seconds. The warning box appears but offers no solution. I have reloaded the software, but this has made no difference. Has anyone else experienced this

    I am having problems with i-photo. It automatically closes after 10 seconds. the warning box gives no guidance. Anyone else had this problem?

    What "warning box"?
    Assuming you're using iPhoto 09 or later:
    Option 1
    Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Choose to Rebuild iPhoto Library Database from automatic backup.
    If that fails:
    Option 2
    Download iPhoto Library Manager and use its rebuild function. This will create a new library based on data in the albumdata.xml file. Not everything will be brought over - no slideshows, books or calendars, for instance - but it should get all your albums and keywords back.
    Because this process creates an entirely new library and leaves your old one untouched, it is non-destructive, and if you're not happy with the results you can simply return to your old one. .
    Regards
    TD

  • Open mail message closes automatically after few seconds

    Whenever I open a mail message to read - it automatically closes after a few seconds. Can this be prevented. Thanks

    I just started having this issue as well. I recently downloaded my NHL hockey teams ICS calendar file into my exchange account. After that, when I read an e-mail on my iPhone, it would close the window and go back to my inbox on my iPhone. I first turned off calendar sync on my iPhone. At this point, I could read e-mail. I then moved the NHL hockey team's calendar events into another calendar in a separate PST, then turned calendar sync back on on my iPhone. I can still read all my e-mail.

  • I removed and reinstalled Acrobat Pro 10 and now my documents automatically close about 7-8 seconds after I open them.

    I removed and reinstalled Acrobat Pro 10 and now my documents automatically close about 7-8 seconds after I open them.

    Thank you for responding.  I decided to upgrade to Acrobat 11 and it is now working fine.
    There was no error message - the documents just closed. J.R. Ledbetter, CPL
    5614 Turfwood Lane
    Houston, TX 77088
    Tel. 832/657-7027
    email [email protected]
          From: Anubha Goel <[email protected]>
    To: J. R. Ledbetter <[email protected]>
    Sent: Thursday, March 5, 2015 8:12 PM
    Subject:  I removed and reinstalled Acrobat Pro 10 and now my documents automatically close about 7-8 seconds after I open them.
    I removed and reinstalled Acrobat Pro 10 and now my documents automatically close about 7-8 seconds after I open them.
    created by Anubha Goel in Acrobat Installation & Update Issues - View the full discussionHi jr_ledbetter, Could you please let me know if you get any specific error message when the PDF closes automatically.Does Acrobat opens as itself or not?You might need to refer the KB doc link mentioned below:Doesn't launch after 30 days
    Installed as part of a CS6 suite Let me know if this helps. Regards,Anubha If the reply above answers your question, please take a moment to mark this answer as correct by visiting: https://forums.adobe.com/message/7258293#7258293 and clicking ‘Correct’ below the answer Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: Please note that the Adobe Forums do not accept email attachments. If you want to embed an image in your message please visit the thread in the forum and click the camera icon: https://forums.adobe.com/message/7258293#7258293 To unsubscribe from this thread, please visit the message page at , click "Following" at the top right, & "Stop Following"  Start a new discussion in Acrobat Installation & Update Issues by email or at Adobe Community For more information about maintaining your forum email notifications please go to https://forums.adobe.com/thread/1516624.

  • Facebook opens and after afew seconds, it closes automatically. How do I fix this?

    I have the new ipad4 I have downloaded Facebook several times. Each time I go to use it, Facebook opens and after afew seconds, it closes automatically. How do I fix this?

    What do you mean " I have downloaded Facebook several times"? Did you install the app and delete it several times?
    try this
    Make sure IOS is updated to latest version
    How to update your iOS device
    http://support.apple.com/kb/HT4623)
    Make sure iTunes is updated to the latest version
    Reboot device by pressing both the home button and sleep/wake (power) buttons at the same time for 10-15 seconds until the apple logo appears on the screen, then let go.

  • When I try to open a second page in safari I press the " +" button but it automatically closes out of safari.. Wht should I do?

    When I try to open a second page in safari I press the " +" button but it automatically closes out of safari.. What should I do?- thanks

    Try clearing Safari's cache : Settings > Safari > Clear Cookies And Data and also Clear History
    If that doesn't fix it then try closing Safari via the taskbar and see if it works when you re-open it :
    iOS 7 :double-click the home button to open the taskbar, and then swipe or drag the Safari app's screen from there up and off the top of the screen to close it, and click the home button to close the taskbar.
    iOS 6 and below : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option if the above doesn't fix it is a soft-reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Mozilla automatically closes after opening it

    Mozilla closes automatically after 3 seconds when I opened it. Have already checked the firewall settings on my computer and security softwares.

    Have you tried to '''''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Start Firefox in Safe Mode]''''' {web link} ?
    Some problems occurs when your Internet security program was set to trust the
    previous version of Firefox, but no longer recognizes your updated version as
    trusted. Now how to fix the problem: To allow Firefox to connect to the Internet
    again;
    * Make sure your Internet security software is up-to-date (i.e. you are running the latest version)
    * Remove Firefox from your program's list of trusted or recognized programs, then add it back. For detailed instructions, see
    '''[https://support.mozilla.org/en-US/kb/configure-firewalls-so-firefox-can-access-internet?esab=a&s=Configure+firewalls+&r=0&as=s Configure firewalls so that Firefox can access the Internet.]''' {web link}

  • Automatically close window after processing

    hi
    In my program, I open a detail-screen in a new window (target=_blank in the link properties). Users can change details of the record on that screen.
    What i want to do, is automatically close the window after the record has been processed.
    When I add "javascript:window.close()" to the Button's URL, it closes the window. However, this does not work on the Branch option, which is called after the processes.
    I also tried the option that's mentioned in the "how to create popups" tutorial, with a piece of javascript in the header (a simple function with a close() in it), which is called by the branching process. This doesn't work either. I get a "This page cannot be displayed" page.
    So my question is: how can I automatically close the window after the record has been saved?

    hi
    In my program, I open a detail-screen in a new window (target=_blank in the link properties). Users can change details of the record on that screen.
    What i want to do, is automatically close the window after the record has been processed.
    When I add "javascript:window.close()" to the Button's URL, it closes the window. However, this does not work on the Branch option, which is called after the processes.
    I also tried the option that's mentioned in the "how to create popups" tutorial, with a piece of javascript in the header (a simple function with a close() in it), which is called by the branching process. This doesn't work either. I get a "This page cannot be displayed" page.
    So my question is: how can I automatically close the window after the record has been saved?

  • How can I automatically close a dialog box using Javascript after I click the OK button to submit it?

    How can I automatically close a dialog box using Javascript after I click the OK button to submit it? I don't want to have to X out of the dialog box after I am done.
    Thanks
    Linda

    JS can not interact with open dialogs in any way, unless it's a dialog
    created in JS using the Dialog object.
    On Thu, Jul 24, 2014 at 11:13 PM, lindaeliseruble <[email protected]>

  • Adobe Reader 11.0.03; Docs open and then close after 2 seconds

    I'm running Win 8, 64 Bit.  When I try to open pdf doc in Adobe Reader XI 11.0.03, IE10, it closes after 2 seconds.  I have uninstalled several times and reinstalled but no fix.  Any solutions? 

    Hi, same problem here and every commented solution didnt help me.
    8.1 64bit , AR 10.0 or AR 11.x
    - I used AR cleaner, didnt help
    - I used CCleaner, didnt help
    - I tried set bprotectingmode dword 0 in registry, didnt help
    1. Does this happen only in IE or also with other browser (FF, Chrome)?
    This help with no browser, just empty adobe reader start.
    2. Does this happen on stand alone Reader (instead of in the browser)?
    both
    4. If this happens also in the stand alone Reader, does launching Reader without opening a PDF file have same problem?
    yes, still problem.
    The only one possible solution seems to be install another pdf viewer :-(

Maybe you are looking for

  • Need help with raw files

    I have reinstalled and updated CS5 but I am unable to open camera raw files for my Canon Rebel T4i. I get the following message: Could not complete your request because the file appears to be from a camera model which is not supported by the installe

  • Repository schema diagram (pdf ) available for Process model ?

    Is there Repository schema diagram (pdf ) shipped/available for Process model metadata?

  • Mac Malware/poisoned images

    Two detailed articles that go into greater depth of the malware attacking Mac users. http://www.securelist.com/en/blog/6211/Rogueware_campaign_targeting_Mac_users http://blog.unmaskparasites.com/2011/05/05/thousands-of-hacked-sites-seriously-p oison-

  • Window 2003 upgrade to window 2008 R2 for Moss 2007

    I am currently running Moss 2007 on window 2003 32 bit. I need to move it to 2008 r2 64bit.  currently 1sql, 1webapp i plan to add  64bit webapp(running window 2008 r2 64bit) to the farm, then remove the 32 bit webapp. here are my question is that an

  • Play iTunes via airport express?

    Hello I have a couple old airport expresses with a 1/8 in output to play music received from iTunes wirelessly. BUT, AirPort utility won't recognize either airport express (I have depressed the reset button on each for 30 seconds) and I see no option