close popup after download

Jdev 11.1.1.7

I have a poopup that has 2 buttons, download another file cancel as indicated:

quest.png

popup codes is:

< af:popup id = "p3".

Binding = "#{pageFlowScope.BeanName.downloadBulkRolePopup} '"

contentDelivery = "immediate" >

< af:dialog id = "d5" type = "id ="pgl29"layout ="vertical"nLayout >"

< af:panelGroupLayout id = "pgl31" layout = "horizontal" >

< af:spacer width = "30" height = "50" id = "s22" / >

"" < af:selectOneChoice label = "Please select a Type" id = "soc4" autoSubmit required = "true" = "true" value = "".

Binding = "#{pageFlowScope.BeanName.selectTypeSOC_binding}" >

< af:selectItem label = 'G' value = 'G' id = "si7" / >

< / af:selectOneChoice >

< / af:panelGroupLayout >

< af:panelGroupLayout id = "pgl30" layout = "horizontal" >

< af:spacer width = "20" height = "50" id = "s23" / >

< af:commandButton text = "download the role in bulk" id = "cb8.

inlineStyle = "do-size: small;" do-family: Arial; make-weight: bold; ">

< af:fileDownloadActionListener filename = "BulkRole.csv"

contentType = text/csv"; "charset = utf - 8"

Method="#{pageFlowScope.BeanName.OrgTypeBulkRoleDownloadCSV_ActionListener}"/ >

< / af:commandButton >

< af:spacer width = "40" height = "50" / >

< af:commandButton text = 'Cancel' id = 'commandButton5' immediate = "true".

inlineStyle = "do-size: small;" do-family: Arial; make-weight: bold; »

actionListener="#{pageFlowScope.BeanName.cancelDownloadActionListener}"/ >

< / af:panelGroupLayout >

< / af:panelGroupLayout >

< / af:dialog >

< / af:popup >

Cancel of works well as:

{} public void cancelDownloadActionListener (ActionEvent actionEvent)

this.getDownloadBulkRolePopup () .hide ();

}

But when calling () .hide () this.getDownloadBulkRolePopup; for the download after the download code button, it does not close the pop-up window as expected

Please notify

This is because fileDownloadActionListener calls internally the responseComplete(); and you can't do anything after that

So use this way:

http://www.gebs.ro/blog/Oracle/affiledownloadactionlistener-generate-export-and-close-popup/

Tags: Java

Similar Questions

  • Close Popup after video is done playing

    Hello

    I want to ask you something. I ve integrated a video in a popup on an indesign document, which will play after that section of the folio is open. So, what I want to build is, that the popup closes automatically when the video is finished.

    How to do this?

    Thank you.

    Build a MSO and he then expire so that when the video is finished, the window disappears.

  • After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    After downloading the update for Yosemite 10.10.5, I got an annoying popup with a beep sound blaring that says that Safari crashed. I've forced to leave Safari, rebooted and popup returned once more. Restarted again and popup went. What was it?

    Open Safari while holding the SHIFT key

    Try to reset the settings of Safari:

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select the Preferences/Privacy tab

    4. click on remove all data from the Web site

    5. close Safari.

    Remove cache Safari files:

    1. click on finder

    2. look for the menu GO to top

    3. click on GO and hold down the option key. This will show a user library folder.

    4. click library and find the Caches folder

    5. in the folder caches com.apple.Safari Ouvrezledossier

    6. move the Cache.db file Trash.

    This should solve the problem. If it does not help, try to disable the Safari extensions

    1. open Safari

    2. click on the Safari menu at the top (to the right of the Apple logo)

    3. Select Preferences

    4. find the Extensions tab

    5 disable all extensions of

    6. relaunch Safari

  • The Adobe application manager maintains unexpectedly close immediately after that b being open when I try to download After Effects and repeat the process when the error message appears asking me to reopen.  Why isn't she let me download After Effects?

    The Adobe application manager maintains unexpectedly close immediately after b being open when I download tryto After Effects and repeating the process when the error message appears asking me to reopen.  Why isn't she let me download After Effects?

    Drogers1102 please use the uninstaller of creative application Cloud Desktop, then reinstall.  You can find more details at the request of error "Failed to install" Creative Cloud Desktop - http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html.

  • Cannot uncheck Safari preference to "Open 'safe' files after downloading".

    The option to open the 'reliable' files after downloading Safari preferences (general tab) is grayed out so that the selection cannot be changed. It is currently enabled, and I want to uncheck.

    Running OS - X El Capitan version 10.11.4 on a Macbook of 2015 the retina with 1.1 GHz Intel M Core with 8 GB of DDR3 memory. I applied all the updates that are available. It's a pretty clean machine all other software/applications installed - only the latest version of Microsoft Office, Microsoft Remote Desktop and Symantec's Solutions have been added.

    What would make that and more importantly, how do I do if I can check/uncheck?

    Remove the test and com.apple.Safari.plist file.

    Empty the trash.

    Quit all applications.

    Hold down the option key and click on the "Go" menu in the Finder menu bar.

    Select 'Library' in the menu dropdown.

    Library > Preferences > com.apple.Safari.plist

    Right-click on it and select "place it in the trash.

    Close the Finder window.

    Turn it back on.    Restart Safari.

    If this does not help, "put back" the com.apple.Safari.plist

    Right click on the trash icon in the Dock, then select 'open '.

    Right-click on the com.apple.Safari.plist and select 'Put Back'.

    If this does ' t solve the problem:

    PC Backup.

    Reinstall OS X El Capitan 10.11

    Reinstall OS X from recovery

    https://support.Apple.com/en-us/HT204904

  • SignalExpress closes immediately after the splash screen

    I'm having a problem with the Software NI SignalExpress where the application fails to open completely - it closes immediately after the splash screen. I am using windows XP Pro. SP3.

    I tried to uninstall, registry errors compensation and reinstall, I also tried the repair installation - or who work.

    A test of SignalExpress installation was installed on my PC until I got a full copy with the purchase of a data acquisition (usb-6218).

    Hi André,.

    Sounds a bit nasty. If repairing and reassembling and all this malarky does not recommend the use of msiblast to clean your computer of all the software of NOR and starting again with a new install. When you software uninnstall he didn't get rid of everything, there is still hidden folders around dootted.

    I joined msiblast.exe.

    -Run msiblast

    -Make sure the radio button "Show OR installers only" is selected.

    -Select all and then click on uninstall.

    When this is complete, your computer will be NOT free. After that;

    -Install all software from OR you for example LabVIEW Signal express

    -Then install the drivers. The USB-6218 case uses the DAQmx driver that the latest version can be downloaded from this link.

    If it persists then write again.

    Kind regards

  • Windows 7 Home Premium: download files to install the game disappears after download

    When I finished to download MapleSEA on Windows 7 Home Premium, after checking the download box disappears. It is the same for any game download, as CABAL. How can I make these games work?

    Hi Sahul9000,

     
    1. not looking for game file after you download it?
    2. What is the error message?
     
    Every time we download any program or game, download rest dialog box open or closed once the download is complete. The dialog box remains open if the option "close when the download is complete" is not enabled and if she chose the closed box dialog box.
     
    When the dialog box disappears, it means that the download is finished. We recommend that you find the location of the downloaded file. Once youfind the file, open it to install the game.
    Once the game is installed, restart the computer and launch it from the menu start.
    a. Click Start, click all programs.
    b. click on the element of game in the list to start.
     
    Kind regards
    Syed - Microsoft technical support.
    Visit our Microsoft answers feedback Forum and let us know what you think.
  • After downloading the updates, I can't reboot my pc, so now I can't receive updates.

    After downloading the updates, I can't reboot my pc. I code pops up that says that if I end now that I'm going to lose all unsaved data. So, I can't log out or restart without losing my updates. I can't get my active X to work now... I can't download it because it requires a reboot. Help!

    Hi stevenstar,.

    a. you just download the updates of Windows or you have installed them as well?

    1. at this point of time you can cancel the reboot and back up all your data and close all applications that are open and restart the computer to make the changes.
    Once the computer restarts view the Windows update history and check if updates are installed.
    See the Windows updates are installed
    http://Windows.Microsoft.com/en-us/Windows7/see-which-Windows-updates-are-installed
     
     
    2 type eventvwr.msc/s in the address bar.

    The list of all the events that are listed as 'Error' in the main window when you go to 'Newspapers Windows' and 'Application '. There is often a large number of them. Send us any ones you see listed for the last few days. (Please also do it for the log files in 'System'). When you do, provide us the name of the 'Source' and all that is listed in the description below the list of newspapers box when you click on one.
     
    For more information on event viewer, see the articles below:
    Open event viewer
    http://Windows.Microsoft.com/en-us/Windows7/open-Event-Viewer
    What are the information contained in the logs of the event (Event Viewer)?
    http://Windows.Microsoft.com/en-us/Windows7/what-information-appears-in-event-logs-Event-Viewer
     
     
    We hope to hear from you soon.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Restart TaskFlow bounded for every close popup in ADF

    Hello

    I created a taskflow running in the popup, starts everytime I close popup., where he finished.
    How can I re - start taskflow for each closing of the pop - up... ?

    Note: A button opens a popup and after the success of all the steps in a workflow, then iam closing popup. Even in this case by clicking the watch button will empty popup (not not from the default activity of taskflow).


    Kind regards.

    Hi again.

    Sorry delay I was a little testing this issue.

    Please in your defined configuration task Flow, on the behavior tab uncheck 'data controls share workflows with the appeal '.
    Or set manually in the task definition xml stream:

    
          
    
    

    Kind regards.

  • Close Popup problem

    Hello

    I am developing a DateChooser custom which will display several months at a time. I've created a popup window witch contains the month and created an event that fires when a date is selected. Now it all works, but when I try to close the pop-up window I get an error.

    Source:

    private void dateSelected(event:DateChangedEvent):void {}

    trace (event.selectedDate);                         The trace shows the date

    PopUpManager.removePopUp (dpw);

    }

    The error:

    TypeError: Error #1009: cannot access a property or method of a null object reference.

    at mx.managers::FocusManager/childHideHandler() [E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\managers\FocusManager.as:1744]

    to::EventDispatcher/dispatchEventFunction() flash.events

    to::EventDispatcher/dispatchEvent() flash.events

    at mx.core::UIComponent/dispatchEvent() [E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]

    at mx.core::UIComponent/setVisible() [E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\ UIComponent.as:3038]

    to mx.core::UIComponent / set visible() [E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:2997]

    at mx.controls::CalendarLayout/mouseUpHandler() [E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\controls\CalendarLayout.as:2497]

    Any help is appreciated!

    This is a bug in Flex.  Please fill in a bug if there is not already one.

    One solution would be to not remove the popup after a mouseUp

  • Close popup at the end of the procedure

    I built a custom shortcut menu that I use to store a value in conjunction with the current screen. The popup contains the values of the current screen, asking the user for a little more entries, and then saves the records. The procedure works very well. Once the procedure is completed, I want to close the pop-up window.

    I tried two things: using a procedure to close the Popup window and use of indicators of this thread:
    Re: Close the popup after MRU

    I got to work (part close) but I had to go back and change some of my page and now it does not work yet. Can anyone suggest what to watch?

    Header HTML:
    <script language="JavaScript" type="text/javascript">
    function closeWindow() 
    {
     if ( document.getElementById("P1069_SAVESTATUS").value == 'R' )
     {
      window.opener.location.href=window.opener.location.href;
      window.close();
     }
    }
    </script>
    One of the regions HTML, source is:
    <script language="JavaScript" type="text/javascript">
      onLoad="closeWindow();"
    </script>
    Article P1069_SAVESTATUS of the region is defined as hidden, the value "n" when session state is null.

    Process is the following (triggered by the button FINISH):
    declare
      v_job        NUMBER     := :P1069_TC_ID;
      v_dt         DATE       := to_date(:P1069_DT,'MM/DD/YYYY');
      v_emp        NUMBER     := :P1069_EMP_ID;
      v_pkg        NUMBER     := :P1069_PKG_ID;
      cursor c_pkg is select COURSE_ID from TRAINING_PKG_ASSIGN
                where COURSE_PKG_ID = v_pkg and COURSE_ID > 0
                order by COURSE_ORDER;
      v_crs        NUMBER;
      v_eemp       NUMBER     := :G_USER_ID;
      v_edt        DATE       := SYSDATE;
    begin
      delete from EMP_TRN_HISTORY
       where TC_ID = v_job;
      open c_pkg;
        LOOP
          FETCH c_pkg into v_crs;
          EXIT WHEN c_pkg%NOTFOUND;
            insert into EMP_TRN_HISTORY (EVENT_ID, EVENT_DATE, TRN_CRS_ID,
                  ENTRY_EMP_ID, ENTRY_DATE, TC_ID, EMP_ID, PKG_ID)      
               values (SEQ_EMP_HISTORY.nextval, v_dt, v_crs,
                     v_eemp, v_edt, v_job, v_emp, v_pkg);
        END LOOP;
      close c_pkg;
      :P1069_SAVESTATUS  := 'R';
    end;

    Try to change the HTML code in your area for

    
    

    onload = "" notation would be used if you were putting the function call the "tag of the page.

  • Unable to Scan to the computer after downloading macOS Sierra. Is this a software problem?

    How can I scan from HP Envy 4500 to computer after downloading macOS Sierra?

    Hello wdemetris,

    Thanks for asking for scanning helps here in the Apple Support communities. I understand how it is important to have access to your scanner and am happy to offer help for this.

    As a precaution, we always recommend that you have backups to make sure that all your data is safe. You can perform a backup using Time Machine and an external hard drive. Use this article to help make a backup of your Mac: use Time Machine to back up or restore your Mac.

    Then, in accordance with article help: printer and scanner for Sierra, El Capitan, Yosemite, and the Mavericks macOS software, the HP Envy 4500 e-all-in-one is supported for printing and scanning. The drivers must be installed, but if not, if it please go to the App Store and check the updates tab to see if there are updates for HP. If there is, please install.

    If you have only general questions about how to get your updated scanner in place or how to scan pictures, please check out these two articles: macOS Sierra: implement a scanner & macOS Sierra: scan images or documents. If everything is configured correctly and you still have problems scanning, please visit this help article: macOS Sierra: scanning troubleshooting.

    Thanks again and have a great rest of your day.

  • After downloading macos sierra it keeps restarting

    After downloading sierra it keeps restarting after about 30 seconds.

    Start in Recovery (R command) and in the menu dropdown > utilities > disk utility and run the drive on your Macintosh hard disk first aid.

    Recovery http://support.apple.com/kb/HT4718

  • iPhone 6s more stuck in the mode of the brick after downloading ios10. Cannot restore via iTunes. error 3014

    iPhone 6s more stuck in the mode of the brick after downloading ios10. Cannot restore via iTunes. error 3014

    After the update to ios10, my 5s iPhone seems to work very well. I reconnected it to iTunes and then it bricked, and I panicked.

    iTunes synced a couple of times, it took about an hour and a half for me. After that it stopped its cycle of synchronization, I unplugged my iPhone - it still bricked. I then did a hard reset and it worked.

    Maybe I got lucky, maybe my iPhone and iTunes need a kick in their buttocks.

  • How the prisma app works on mac after downloading itunes

    How the prisma app works on mac after downloading itunes

    I don't think they have a Mac version. The following a https://itunes.apple.com/us/app/prisma-art-photo-editor-free/id1122649984?mt=8 present in the compatibility section in the left column that it is compatible with iPhone, iPad and iPod Touch. Applications you download through iTunes to a Mac would be then be synchronized the Mac one of these devices.

    Store applications designed for the Mac can be downloaded from the Mac App via the Apple menu > App Store and iTunes is not involved.

Maybe you are looking for

  • I did not receive a message confirming the reset password

    I tried to reset my password synchronization. When I filled out the form, I got the message "we sent a code to reset the email address that we have on file for you. Please use it within 6 hours, or it will become invalid. ", but I got no message on m

  • LabVIEW parallel for loop and OpenMP

    Hello: It's just a curious post, I just learned about OpenMP and I found that OpenMP helps you to parallelize loops in c about the same way that you can use the loop For parallel in LabVIEW. The loop For Parallel LabVIEW is being implemented under th

  • 936982 KB - Office 2007 SP1 will not install.

    I have experience several times "the following updates were not installed:" regarding KB 936982 Office 2007 SP1 update attempts.  I spent about 7 hours. with MS online free assistance and still no joy.  It costs me a lot of time and time = money.  I

  • How can I back up the files of the user as well as the owners?

    I just bought an external hard drive for backups.  I had backups Backup & restore, files appear on the external hard drive, however; only show files/documents/images "owner" in the "directory" - none of the user documents, etc. appear.  I'm doing som

  • Laptop screen got a few scratches

    Hello world! I have a model number of the HP 1b02AU 1000 laptop.  The problem is that I closed the little hard laptop in a hurry. Now the screen has had a scratch mark on it as shrapnel. And the screen flashes also. I want to know if it will be cover