How to show popup on the filedownload button action

Hi Experts,

Work on jdev 11.1.1.3.0, ADF BC with rich faces.

I need in my application as I need to display the pop-up window and at the same time need to download the file. as the selected lines in the table I have validation on each line, if the validation failed lines I need to show in the popup to the user as I have rows of validation success also these lines I need to generate a file and I want to download.

I have written logic on the command button that has fileDownload, logical remaining here works very well except the popup display. can someone tell me how to solve this problem.

Published by: user5802014 on August 19, 2010 17:57

Hello

I must admit that I did not sample myself. However, in your JavaScript code, I see 1 problem

you have the following line in the script

actionEvent.forceFullSubmit ();

This causes a shipment of full page and a page refresh, which prevents the opening of popup

Frank

Tags: Java

Similar Questions

  • plugged an external mouse and now the keys and mouse pad do not work. in the properties it shows activated but the Activate button is not active.

    plugged an external mouse and now the keys and mouse pad do not work. in the properties it shows activated but the Activate button is not active.

    You can start in safe mode and restore the system.

  • Apex - how to set hide and show checkboxes at the event button

    Hello


    How to set up HIDE/SHOW check boxes when click on the events button. (apex)

    If I press the button and then the box will appear.
    If I press it again then check box will be disapper.
    Can u please help me solve this issues in the APEX.


    Thanks in advance.
    concerning
    r

    My steps:

    1 create the point of the box
    LOV:

    select 'orange' d, 'orange' r
    from dual
    union all
    select 'apple' d, 'apple' r
    from dual
    union all
    select 'banana' d, 'banana' r
    from dual
    

    2. create the region button. Specify the redirect URL and URL target as #.

    3. create a dynamic action

    Advanced

    Event: Right click; Selection type: jQuery Selector; Select jQuery: button [value = "Toggle"]<-- where="" toggle="" is="" the="" label="" of="" my="">
    Action: Run the JavaScript Code. Fire when the Page loads: uncheck the box. Code:

    var ele = $('#P34_FRUIT');
    
    if (ele.css('display') == 'none'){
         $x_Show(ele);
    } else {
         $x_Hide(ele);
    }
    

    Leave the rest and click on create

    Click the button to see it disappear and other things (not tested in IE).

    I did sample: http://apex.oracle.com/pls/apex/f?p=23834:34

  • How to show or hide the region of the shuttle during the click on the radio buttons?

    Hello

    I'm new to JDeveloper. Here is my requirement.

    1. create 2 radio buttons: Yes and no and default displays "" selected radio button.

    2. create a region of shuttle with select query in VO.

    Query is:

    Select 'No group' for_user, for_pkg double null

    Union

    Select "Company" for_user, for_pkg "SEGMENT1" double

    Union

    Select 'Rental' for_user, for_pkg 'SEGMENT2"double

    Union

    Select 'Cost center' for_user, 'SEGMENT4' double for_pkg

    Union

    Select 'Project' for_user, 'SEGMENT5' double for_pkg

    Union

    Select "Intercompany" for_user, "SEGMENT8" for_pkg of the double

    order by nulls first for_pkg

    3. initially hide the region of the shuttle during the loading of the page.

    4. click on the radio button 'yes', display area of the shuttle with values at the head of list of query VO and empty list leak.

    5. new click on the 'no' radio button, he must hide region and so screen shuttle shuttle dynamically according to the selected option button.

    But my problem is I am able to hide area shuttle when the page loads at the beginning and after that, when I'm clicking 'Yes' radio button, is just to display area shuttle empty without value in the main list and once when I'm clicking 'No' radio button, it should hide area shuttle but he's not hiding. I used the RPP to show or hide the area Shuttle under certain conditions. I use JDev 10.1.3.3.0 version as we Oracle EBS version 12.1.2 in our society.

    Please find the attached draft and suggest me proper with examples of sample approach.

    Monika,

    I tried to get this working in the lower version of Jdeveloper and looks like it works.

    Can you make the change below and see what happens.

    1. modify your query to VO as below: (I replaced null with SEGMENT0)

    select 'No Grouping' for_user, 'SEGMENT0' for_pkg from dual
    union
    select 'Company' for_user, 'SEGMENT1' for_pkg from dual
    union
    select 'Location' for_user, 'SEGMENT2' for_pkg from dual
    union
    select 'Cost Center' for_user, 'SEGMENT4' for_pkg from dual
    union
    select 'Project' for_user, 'SEGMENT5' for_pkg from dual
    union
    select 'Intercompany' for_user,'SEGMENT8' for_pkg from dual
    order by for_pkg
    

    2. place VO execution to the processFormRequest:

        public void processFormRequest(OAPageContext pageContext,
                                       OAWebBean webBean) {
            System.out.println("In process Form Request");
            super.processFormRequest(pageContext, webBean);
            OAApplicationModuleImpl appModule =
                (OAApplicationModuleImpl)pageContext.getApplicationModule(webBean);
            String eventParam = pageContext.getParameter(EVENT_PARAM);
            System.out.println("eventParam: " + eventParam);
            if ("showHideShuttle".equals(eventParam)) {
                //  appModule.invokeMethod("deletetrailing");
                System.out.println("Inside If");
                OAMessageCheckBoxBean messageCheckBoxBean = (OAMessageCheckBoxBean)webBean.findChildRecursive("checkBoxBean");
                System.out.println("messageCheckBoxBean : " + messageCheckBoxBean);
                String messageCheckBoxBeanVal = (String)messageCheckBoxBean.getValue(pageContext);
                System.out.println("messageCheckBoxBeanVal: " + messageCheckBoxBeanVal);
    
                if ("Y".equals(messageCheckBoxBeanVal)) {
                    OAViewObjectImpl shuttleVO1 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO1");
                    if (shuttleVO1 != null) {
                        shuttleVO1.setWhereClause(null);
                        shuttleVO1.setWhereClauseParams(null);
                        shuttleVO1.executeQuery();
                        System.out.println("Executed Query : " + shuttleVO1.getQuery());
                    }
                    OAViewObjectImpl shuttleVO2 =
                        (OAViewObjectImpl)appModule.findViewObject("ShuttleVO2");
                    if (shuttleVO2 != null) {
                        shuttleVO2.setWhereClause("1=2");
                        shuttleVO2.setWhereClauseParams(null);
                        shuttleVO2.executeQuery();
                        System.out.println("Executed Query1 : " + shuttleVO2.getQuery());
                    }
                }
                String[] name = { "RenderAttr1" };
                String[] val = { messageCheckBoxBeanVal };
    
                Serializable[] params = { name, val };
                Class[] paramTypes = { String[].class, String[].class };
                appModule.invokeMethod("setXXCustomPVOValues", params, paramTypes);
    
            }
    
        }
    

    3. move Spel link shuttle Bean for the region of header above.

    Some useful links for the shuttle Bean:

    Technology blog based in Java of Sushant: 13. Area of application OFA shuttle

    Framework OA Blog: control of the shuttle as part of OSTEOARTHRITIS

    See you soon

    AJ

  • How to show "subtitling" automatically without CC button?

    I had to use "subtitling" in my projects with CP5,

    but sometimes the skin to the proyect have slow response

    When the user clicks button (CC). The question is how to show "closed caption" automatically?

    CP5 Subtitles optionals.png

    Hello

    See if the thread below the help link.

    Click here to see

    See you soon... Rick

    Useful and practical links

    Begin to learn Captivate 5 times now! $29.95

    Captivate wish form/Bug report form

    Certified Adobe Captivate training

    SorcererStone blog

    Captivate eBooks

  • How to get rid of the icon buttons when you type?

    Could someone explain to me how to get rid of these little icon buttons that keep popping up on the screen when I use my keyboard. Read on this forum that they are something to do with "apps"? What information and icons that appear when you drag to the top of the bottom of the screen? With the wording "parachuting" in the middle of the screen? If so, how do I "turn off" those little buttons, which appear in the bottom right of the screen and above? Can someone advise me on this?

    There is also a tin can that appear on the screen as when I use my keyboard, something "iCloud rental", with the word "done" there commit to get rid of this box. Can someone tell me how to stop this box from appearing when I type...

    You talking about icons like below?

    Or like these?

  • How to find out if the mouse button click

    Hello

    Using the structure of the event, how can I know if the left mouse button is pressed?

    I should be knowing this, but I have no

  • How can I control when the Send button is displayed?

    Currently I have a few audio that plays on a question slide and I want the button submit to appear after the audio is done.  Is there a way to control the moment or some kind of workaround?

    You have very little control over the buttons that are shipped from the slides in Question.  This means that you will have to cheat on Captivate. I don't know how you play the audio? It is with audio command on the entry of the slide set? Or are you using a sound object?

    You can change the formatting of the submit button (which makes it invisible to the user), but it will always be there with its interactivity and point of suspension. And according to a response to my first question, you could create an image of a visible shipment and have that appear after the end of audio. Then hope that the user does not click anywhere and accidentally clicking the button 'invisible '. Hope you understand what I'm trying to explain?

    Lilybiri

  • How to remove or disable the voicemail button in the app phone.

    Don't use voicemail, I sometimes find myself hitting the voicemail button to my accident. the phone is on a prepaid plan, so I pay for every outgoing call, including access to voicemail. However, I don't want to use the jailbreak. also if she will be gone, because I still have no problem its gives me a huge pain.
    Thank you

    There is no way to remove it.

  • I'm trying to import my IE Favorites and have read the instructions on how to do it, but the import button in the file in gray and will not let me import. Any ideas?

    I'm trying to import my IE Favorites and have read the instructions, but the import button in the file in gray and will not let me import. Any ideas?

    Try using the import option in the Bookmark Manager (also known as the name of the library)

    1. In Firefox, select the bookmarks menu, then "organize bookmarks" open library
    2. In the library, select "Import and backup" then "Import HTML.
    3. You should get I hope that the ability to import from Internet Explorer.
  • All my icons have changed and my programs don't show up on the Start button

    All my icons changed, and my programs don't show up on the start buttonessing. Why?

    Original title: programs do not show

    Hello

    Thank you for the question to Microsoft Community. I'll give my best to help you.

    To better understand the issue, answer the following questions.

     

    You did changes to the computer before the show?

    You can perform the methods suggested below and check if they will help you solve the problem.

     

    Method 1:

    Step 1: check the feature Safe mode.

    http://Windows.Microsoft.com/en-us/Windows7/start-your-computer-in-safe-mode

    If it works fine in safe mode, try to perform a clean boot by using step 2.

     

    Step 2: Perform the clean boot.

    http://support.Microsoft.com/kb/929135

    NOTE: once you check the clean boot feature configure Windows to use a Normal startup using step 7 proposed in the above mentioned link.

     

    Method 2: Run the tool (SFC.exe) System File Checker and check if it helps.

    Follow the shape of measures the following link: http://support.Microsoft.com/kb/929833

    Method 3: Run the system restore.

    Restore the computer to the date where it worked very well: http://windows.microsoft.com/en-US/windows7/products/features/system-restore

    NOTE: When you use system restore to restore the computer to a previous state, the programs and updates that you have installed are removed.

     

    If the problem persists, or if you want more help answer we are happy to help you.

  • 11.1.1.4.0 - inline popup: disabling the default undo action...

    Hello

    I read in Oracle JDeveloper and ADF Oracle 11g Release 1 Patch Set 3 (11.1.1.4.0): new features and bug fixes:
    "Framework for dialogue: ability to disable the default cancellation actions applied to the application of the whole web for full task flow page ran like dialog popup. inline boxes.

    I search in the current JDEVADF_11.1.1.4.0_GENERIC_101227.1736.5923, but I can't.

    Can I set this in the taskflow? Or in the when I use the taskflow in an another taskflow a define this as "-as-Run dialog box?

    Hello

    Add the following configuration of bean managed to the adfc file - config.xml:

       
        oracle$adfinternal$view$rich$dailogInlineDocument
        java.util.TreeMap
        application
        
          java.lang.String
          java.lang.String
          
            MODE
            withoutCancel
          
        
      
    

    Note that the configuration may change in the future, but for now its in a managed bean

    Frank

  • How to get rid of the shiny buttons?

    Hello, I own a MacBook Pro Retina early 2013. The computer was introduced for some time. When I've really started using it last year and was at the time as 12 cycles. So, as you can imagine is quite new.

    I have some problems with brilliant though keys. I tried rubbing with isopropyl alcohol, but I don't know if is fat hands or door. To be honest, it looks more like waring. They keys affected are mainly the space bar and large shift keys and command or delete.

    Someone had this problem? Any ideas how to fix?

    This laptop has been like the back of a $ 2500, then I have older keyboards of other brands that are much more robust.

    Any advice would be appreciated... Can I order these keys and change it? I just hate how now seeks.

    You can replace the entire keyboard, although it may cost you a lot.

    Try the silicone keyboard cover which is cheaper, about $10 on Amazon.

    https://www.Amazon.com/Kuzy-keyboard-silicone-MacBook-display/DP/B005QT6F0E/ref= sr_1_5? s = pc & ie = UTF8 & qid = 1468374236 & sr = 1-...

    https://www.YouTube.com/watch?v=dU48RuxReqQ

  • How to show pins on the map of bb using 5.0 API

    Hi all

    I'm developing an application to watch that i card and writng following the code

    but it shows pin on this card for 5.0 level API O.S.

    MapView mapView = new MapView();
    double lat = Double.parseDouble (ifAgentSearchInfo.getLatitude ()) * 100000;
    latInt int = (int) lat;
    Double lot = Double.parseDouble (ifAgentSearchInfo.getLongitude ()) * 100000;
    int lotInt = (int) batch;
    mapView.setLatitude (latInt);
    mapView.setLongitude (lotInt);
    mapView.setZoom (2);

    MapsArguments mapsArgs = new MapsArguments (mapView);
    Invoke.invokeApplication (Invoke.APP_TYPE_MAPS, mapsArgs);

    Thank you all

    Hello

    It seems that you use inbulit map of passage of argument...

    String document1 = ""+""
    + lon1 + "' y =" > "

  • How you show proof of the delivery of an advertisement in a Folio to a customer?

    Our company is one of our conversion currently publications edition digital all the using DPS Enterprise. How provide us "proof of delivery" of an ad in the folio to a customer?

    Thank you!

    As RichinZ said, if the customer only want to know that the announcement was published in your publications, defined in article ad free, turn the social sharing and share the link to web viewer.

    If you want proof the customer announcements are read and sent to the end-users, the analytical reports will be. Mark the Ad article as an ad in your folio producer that is followed therefore that ad in your analysis

Maybe you are looking for

  • IncompEte scanning on Photosmart 5520

    When I scan a page of text inside a box, only the box and its contents are scanned, the rest of the page is blank. I use a MacBook Pro.

  • Why Search beginning of Labview VI?

    Hello Given that I deleted a «...» VI \Support directory", originally created during deployment of Teststand, whenever I start LabVIEW 8.6 as a search for several VI is executed. These VI is NOT planned and was initially located in the Support direct

  • V3 - 574G black and cannot restart the laptop screen

    Currently unable to use the laptop at all because he has himself in a State where I can not restart to reset. When "on", the keypad backlight is on but the laptop has a black screen - and pressing caps lock for example does nothing (should be a statu

  • I can't record new sound effects Director of windows.

    I can't record new sound effects Director of windows. I have a recording camera that can record sounds as well, and it works on my laptop, but it totally broke and now I have to use my computer at home. How do you store new sound effects?

  • keep loswing wifi connection withoutwarning without apparent reason

    I keep losing my connection wifi with warning. things I've tried: changing the channel on my router, change epower e options on my economy wireless options. Please help do not know what else to do