Automatically Close Popup

Hi All,
We are working on an ISU system with CRM as a frontend.
Here, we have modified the standard toolbar to hold buttons apart from the 'End Call' button.
One one of these buttons, a popup is created which calles a custom component.
This component has a button.
The requirement is to close the popup automatically when the button is pressed.
We tried using do_destroy but didnt work.
Thanks and Regards,
Ravi Bhatnagar

Hi,
  Hi,
      Create an outbound plug for example 'CLOSE' in the window controller. Inside this outbound plug method, put in the coding
me->fire_outbound_plug( iv_plug_name = CLOSE'  iv_data_collection = iv_data_collection ).
In button click event put this code
lr_window_controller = me->view_manager->get_window_controller( ).
lr_window_controller->call_outbound_plug(  'CLOSE'  ).
Regards,
Arun Prakash
Regards,
Arun Prakash

Similar Messages

  • 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

  • How to automatically close TitleWindow after 10 secs?

    hello,
    I've been trying several options to automatically close title window (created via popupmanager) but none is working.
    I create this window as kind of final confirmation. I want to display it for 10 secs, then close and bring user back for welcome screen. For now I only managed to impement this for close window event, but this timed closure is highly needed. Anyone could help?
    Regards,
    Akeen

    Have your tried calling your popup remove function from a setTimeout call?
    http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/utils/package.htm l#setTimeout

  • Close popup window for swf file

    The captivate movie plays properly in the popup window. The
    "Close Movie" command does not automatically close the popup window
    on some computers. Any sugestions?

    You said, "Some customers?" does it work for other customers?
    Is there a difference between the way two customers are viewing the
    file? Compare the two, and you may get some hints.
    thanks

  • 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?

  • Auto close popup

    Hi, I am new so please bear with me. I use a computer system at work and will pop open an internet browser window. Now, I cant install a popup blocker so I need a java script that will automatically close a popup for the google site. Can anyone help?

    I cant install a popup blocker Why?

  • 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]>

  • How to close popup with af:commandButton without submitting values?

    Hi all,
    I'm using JDeveloper 11.1.2.1
    My popup has few af:inputText components with value attribute binded to view scope variables.
    I set those view scope variables in backing bean before showing popup.
    When I change values of input fields and click cancel (af:commandButton, partialSubmit=true, immediate=true), popup is closed.
    Then, when I show popup again, values that I changed are visible although I set new values to view scope variables in backing bean before showing popup again.
    I noticed that when I close popup using close icon in upper right corner of popup everything works fine.
    Also, I tried using dialog cancel button and it also works fine.
    Is there a way for closing popup using af:commandButton but without submitting values?
    In previous releases of JDeveloper (<= 11.1.1.5) I didn't noticed this problem.
    Thanks in advance,
    Aleksandar

    Alexandar wrote:
    Is there a way for closing popup using af:commandButton but without submitting values?If you really want to use your own button without submitting, then some three lines of Javascript will do the trick. See the documentation of af:popup for that. Canceling a popup is a pure client-side operation. No event is sent to the server. No submit. No need to reset anything. That's basically what the built-in cancel button does as well.
    Sascha

  • Java Dialog Boxes Don't Stay Open and Automatically Close

    Hi I'm having this weird Java prob. Initially I thought it was a net beans problem but I found out all java apps have this problem on my pc.
    Dialog boxes automatically close after some time. Please help me resolve this issue.
    Windows 7 x64
    Asus P8P67 Pro
    Intel Core i5 2500K
    ATI Radeon HD6970
    Path:
    C:\PROGRAM FILES (X86)\NVIDIA CORPORATION\PHYSX\COMMON;C:\PROGRAM FILES (X86)\ATI STREAM\BIN\X86_64;C:\PROGRAM FILES (X86)\ATI STREAM\BIN\X86;%SYSTEMROOT%\SYSTEM32;%SYSTEMROOT%;%SYSTEMROOT%\SYSTEM32\WBEM;%SYSTEMROOT%\SYSTEM32\WINDOWSPOWERSHELL\V1.0\;D:\DRIVERS\ATI.ACE\CORE-STATIC;C:\PROGRAM FILES\INTEL\DMIX;D:\INSTALLED SOFTWARES\JEDIT;C:\PROGRAM FILES (X86)\MICROSOFT SQL SERVER\100\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\TOOLS\BINN\;C:\PROGRAM FILES\MICROSOFT SQL SERVER\100\DTS\BINN\;E:\More Software Setups\Educational Software\Game Programming\Tortoise Mercurial Client for Ogre Source\;E:\More Software Setups\Educational Software\Game Programming\CMake 2.8\bin;E:\More Software Setups\Educational Software\Game Programming\Tortoise SVN for Ogre AL\bin;D:\Installed Softwares\DirectX SDK\Lib\x64;D:\Installed Softwares\DirectX SDK;D:\Installed Softwares\JDK\jdk\bin;C:\Program Files (x86)\Calibre2\;C:\Program Files\MySQL\MySQL Server 5.5\bin;C:\MinGW\bin;C:\tomcat\lib
    Thanking you,
    sidk47

    This is not a common problem and probably not related to the JRE directly. You have something installed on your system that is doing this. I hope for you it is some sort of trigger happy protection software which you can control yourself, but I would consider doing a full spyware, malware and virusscan sweep using a respectable piece of scanning software.
    If you want to believe it is related to Java, then completely uninstall your JRE/JDK, do a ccleaner registry cleanup and then reinstall the JRE/JDK. If the problem persists, it really is not the JRE.

  • How do I import a clip when the window automatically closes?

    I was unable to even open After Effects CC when I upgraded to OS Mavericks. Once I realized adobe released a patch for it (the 12.0.1 "trial" update), the program opened. I thought all was fine, until I attempted to import a new video clip. It would not let me even move the clip, let alone edit it, before giving me a "grouping" error, and then abruptly crashing. Today Adobe released the 12.1 update, which seems to be running ok, except the window for importing footage automatically closes once opened. I can no longer just drag a new clip in to my composition either. How can I get by this?
    -Christian

    See this:
    http://forums.adobe.com/message/5805902#5805902

  • HT4623 I've updated to IOS6 and now i couldn't open any apps and they're automatically close. And can't sync with itunes properly.. Help me!!

    I've updated to IOS6 and now i couldn't open any apps and they're automatically close. And can't sync with itunes properly.. Help me!!

    Perform a Reset... Try again...
    Reset  ( No Data will be Lost )
    Press and hold the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Release the Buttons.
    http://support.apple.com/kb/ht1430

  • My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn'

    My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn't work either. Thanks for any help.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • 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

  • I have multiple iPhoto libraries and when I selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open apps window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    I have multiple iPhoto libraries on my Macbook Air 10.7.5 and when I am selecting which library to view (hold down 'option' key and launch iPhoto from the dock) it automatically closes another open application window eg. Chome, Word. 1 app closes every time I launch iPhoto this way.

    If you're pushing Option at the exact moment you're clicking the Dock icon, it's supposed to do that. Wait until just after clicking it.
    (112342)

  • In the 20.0.1 update, I noticed when you accidentally close your window your browsing it automatically closes your downloads. Can I bypass this?

    In the 20.0.1 update, I noticed when you accidentally close your window your browsing it automatically closes your downloads. Previous versions when you close your window and reopen Firefox your downloads are unaffected until your downloads are finished or you cancel it yourself. Is there a setting I can set that my downloads are unaffected when I close my window.

    You can set the browser.download.manager.quitBehavior pref to 2 on the about:config page.<br />
    That will make Firefox ask for confirmation if you want to cancel the download if you close Firefox.
    See:
    * http://kb.mozillazine.org/browser.download.manager.quitBehavior
    *http://kb.mozillazine.org/about:config

Maybe you are looking for