ExportData - save window, cancel button

Hello.
I have a problem with the exportData method.
Consider a button control. On the Click method, I have the following code:
     xfa.host.exportData("", false);
     app.alert("Done");
When I click the button, the window for saving the file is displayed. If I save it, after the windows closes, the message is displayed. But if I press the cancel button on the save window, no code after the export is executed.
Can anyone help me with this problem? where should I put the code after the export so that it is executed in both cases (save or cancel)?
Thank you,

Looks like a bug ...can you open an incident with support? Here is a link to the support site so that you can open the incident:
https://www.adobe.com/cfusion/support/index.cfm?event=membership&returnURL=%2Fcfusion%2Fsu pport%2Findex%2Ecfm%3Fevent%3Dportal%26loc%3Den%5Fus&loc=en_us
Paul

Similar Messages

  • Unable to disable Save and Cancel button on change user answer form

    Hi,
    I am not able to disable Save and Cancel button on change user answer form depending on a condition. Any kind of help will be appreciated.
    Thanks

    save and cancel are the default buttons
    check the disable default buttons...
    Nsankar

  • InputListofValue PopUp window CANCEL button event capture ?

    HI All ,
    Jdeveloper version 11.X.6.
    i have explained the outline of issue below:
    User enter some data on InpuLIstOfValue text field and click on the maginfied Glass, the pop opens and selects some data and click 'OK' ,it will display appropriately on below fields.
    but if user enters the wrong data on InpuLIstOfValue text field and clicks on maginfier Glass,no results found on the popup window, so upon click of "CANCEL" button on popup window ,
    is there any way to remove the old data on InpuLIstOfValue Filed ?
    Basicaly i am looking for the capturing the CANCEL button event on the popUpwindow ,based on event status .
    PLase let us know if any hints ?
    Thanks

    Step by step:
    1. Create the converter class:
    package view.converters;
    import java.util.Collection;
    import java.util.Collections;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.convert.Converter;
    import org.apache.myfaces.trinidad.convert.ClientConverter;
    import org.apache.commons.lang.StringUtils;
    public class LOVConverter implements Converter, ClientConverter {
      public Object getAsObject(FacesContext facesContext, UIComponent uiComponent, String value) {
        if (StringUtils.isBlank(value)) {
          // cancel event was triggered, so do something
        return value; // if value is not an instance of String you need to convert it to its primary type (Number, Date, String, etc)
      public String getAsString(FacesContext facesContext, UIComponent uiComponent, Object value)
        if (value == null || /* value is empty in its primary type */) {
          // cancel event was triggered, so do something
        return value.toString();
      public String getClientLibrarySource(FacesContext facesContext)
        return null;
      public Collection<String> getClientImportNames()
        return Collections.emptySet();
      public String getClientScript(FacesContext facesContext, UIComponent uiComponent)
        return null;
      public String getClientConversion(FacesContext facesContext, UIComponent uiComponent)
        return null;
    }2. Declare the converter in faces-config.xml:
    <converter>
      <converter-id>LOVConverter</converter-id>
      <converter-class>view.converters.LOVConverter</converter-class>
    </converter>3. Your inputListOfValues should look like this (see the property converter="LOVConverter"):
    <af:inputListOfValues popupTitle="Search"
                          value="#{row.bindings.DepartmentId.inputValue}"
                          model="#{row.bindings.DepartmentId.listOfValuesModel}"
                          required="#{bindings.EmployeesView1.hints.DepartmentId.mandatory}"
                          columns="#{bindings.EmployeesView1.hints.DepartmentId.displayWidth}"
                          shortDesc="#{bindings.EmployeesView1.hints.DepartmentId.tooltip}"
                          converter="LOVConverter"
                          id="ilov1">After that, when the user clicks the Cancel button, both methods (getAsObject and getAsString) should be invoked, and then you would be able to reset the component value (using uiComponent parameter).
    AP

  • PresaveAction() Popup message box with save and cancel button

    Hi,
    I want to give user an option from popup box with the message "Are you sure to Save you record".
    I got below javascript code but don't know how to show two buttons on popup if user wants to recheck before final saving then he should click CANCEL otherwise SAVE button.
    <script type="text/javascript">
    function PreSaveAction()
    alert("Your request has been submitted");
    return true;
    </script>
    Please advise in above code. 

    Hi,    
    For your requirement, you can use the JavaScript Confirm Box which will contains two buttons in a popup window.
    Here is a demo about checking the value in the “Title” field, if it equals “asdf”, then a Confirm box will come out, then user will be able to choose whether to save or not.
    <script type="text/javascript" src="http://code.jquery.com/jquery-1.10.2.min.js"></script>
    <script type="text/javascript">
    var $j = jQuery.noConflict();
    function PreSaveAction()
    var txtStatus = $j(":input[title='Title']").val();
    if(txtStatus == "asdf")
    alert("Invalid Input");
    var r=confirm("Are you sure to Save you record?");
    if (r==false)
    var statusfocus = $j(":input[title='Title']");
    statusfocus .focus();
    return false;
    else
    return true;
    </script>
    Feel free to reply if there still any questions about this.
    Best regards
    Patrick Liang
    TechNet Community Support

  • Save window runs off bottom of screen in Numbers

    I just installed iWork 09 a few days ago, and I've been having a problem when saving in Numbers. The Save window runs off the bottom of the screen, and I have no idea how to make it smaller so I can actually see the Save and Cancel buttons.
    Any ideas?

    Hi,
    Welcome to the Numbers discussion. This has been reported before and usually is the result of changing the screen resolution in System Preferences, effectively making the viewing area smaller. If any of this sounds familiar to you, you can go back to System Preferences > Hardware > Display and set the resolution to the highest possible setting. Now your whole Save panel should be visible in Numbers. You can make the Save panel smaller by grabbing the sizing handle in the lower right corner. Then if you decide to go back to System Preferences and lower your screen resolution back down, your Save panel is less likely to extend beyond the screen.
    Jerry

  • Each time I open mail in outlook , a window opens up asking to open/save or cancel numerous Firefox files

    This happens several times I open mail in out look. several windows pop up heading file down load.It asks whether I would like to open/save or cancel. When I try to open it goes to internet and start Loading...but nothing happend. example of one such file in C:\document&Setting\Hirak\Local Setting\temporary internet file:
    {FF77738-A07D-ESFDA23A9A5}.html Type Firefoxb document 6.35 Kb.
    This is driving me crazy

    Believe it or not I managed to "fix" this issue with one mouse click.
    I minimized the "People Pane" which in my instance of Outlook is on the bottom of the message area. It seems to be some kind of connection which allows you to connect your own Microsoft contact list with social networking sites for the same people.
    Once I minimized this sub-screen, the issue disappeared.
    Of course, I only figured this out by accident, and only after 90 minutes of reg edits and reboots.

  • When I download applications such as Internet Explorer, Yugma, and iTunes in Firefox, I just get a window that says "save" or "cancel", but never one that says "run" so I don't think it's actually installing anything. Then when I try to open whatever I d

    When I try to download applications such as Internet Explorer, Yugma, and iTunes in Firefox, I just get a window that says "save" or "cancel", but never one that says "run" so I don't think it's actually installing anything. It shows up in a "download" window, then the icon shows up on my desktop. When I click on it to launch it, it says "open with" and I get the same "save/cancel" window. It's a continuous circle. What am I doing wrong??
    == This happened ==
    Every time Firefox opened
    == I don't know. I never downloaded apps through Firefox until all of a sudden Internet Explorer didn't work. ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322)

    What application are you choosing to open the files with?
    Because of how integrated it is with windows IE should work. If it's not working, something more widespread could be wrong with your computer that would also prevent other browsers from working properly. Of course we'd love you to stick with Firefox, but you should get help with IE, too.

  • I am trying to re-install ITunes on Windows XP.  When I do this, all I get is the "save" or "cancel" message, not "run".  What am I doing wrong?

    Because of  getting the message that I had to uninstall Apple Mobile Support Device and ITunes, in order to get my ITunes to be usable, I did that.  While trying to re-install ITunes, all I get on the message is the choice to "save" or "cancel".  It will not give me the "run" choice.  What am I doing wrong?  This should be fairly simple to reinstall, I thought.
    I am running Windows XP on a desktop computer using Firefox.

    Thanks so much.  This definitely worked.  I'm sorry I did  not think of using IE.  I use Foxfire exclusively so seldom even think of IE as an alternative.

  • TS3212 i am trying to download itunes 10.7.  i have windows vista 32-bit.  when i click on download.  the pop up window comes up and ask to save or cancel, and then the webpage says thank you for downloading.  it hasn't downloaded it.  what can i do to fi

    i am trying to download itunes 10.7.  i have windows vista 32-bit.  when i click on download.  the pop up window comes up and ask to save or cancel, and then the webpage says thank you for downloading.  it hasn't downloaded it.  what can i do to fix this?

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • Windows 7 Only Cancel Button at Clt+Alt+Del After 6500 Driver is Installed

    Hi,
    We have a fleet of X201 Tablet Laptops and We use the HP Officejet 6500 Printer.
    As soon as version 14.00 of the driver is installed on these machines upon restart rather than a username to click onto to login at Clt+Alt+Del a cancel button is displayed.
    The only work around we have found is to rebuild the laptop and then install an earlier version of the 6500 driver.
    What is causing this and how do we fix it as some users are installing the latest driver themselfs and breaking the laptops.

    The same thing is happening all over the hp forums.  People are updating printer drivers and then the printer doesn't work. Or some functions are taken away.  I have an hp 4280 printer and I'm still using the driver from when I first installed it. Every time hp wants to update, I say no. Mine still works perfect.  There have been 4 updated drivers since my version.
    It's not Lenovo and it's not your machine. It's hp's buggy drivers.
    T430u, x301, x200T, x61T, x61, x32, x41T, x40, U160, ThinkPad Tablet 1838-22R, Z500 touch, Yoga Tab 2 Windows 8.1, Yoga Tablet 3 Pro
    Did someone help you today? Press the star on the left to thank them with a Kudo!
    If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"!
    If someone helped you today, pay it forward. Help Someone Else!
    English Community   Deutsche Community   Comunidad en Español   Русскоязычное Сообщество

  • Switching into a dialog window's buttons (ok/cancel) w/ a keybord shortcut

    how can i do this?
    on pc i'm used to press "tab" button to switch from the default option to the other.
    for example when selecting "shut down the computer" in the apple menu, it appears a dialog window saying "the computer will shut down in 1 m and ..." selected default button (blue) is CONTINUE, how do I switch to CANCEL button without using the mouse?
    Thank you

    Normally you use "tab" to move around within a dialog box on a Mac too, spiderresistance.
    To automatically hit the "cancel" button, though, use "esc"
    You can find very extensive lists of Mac keyboard shortcuts by going to the "Help" menu when in the Finder , choosing "Mac Help" and then typing "keyboard shortcuts" in the search box.
    Cheers
    Rod

  • I'm installing Creative Cloud on a MAC OSX 10.6.8   I have the 'installing window' displaying that it is about 95% complete but hasn't moved in 30 minutes; cannot quit it either...cancel button doesn't work, can't esc. What's up?

    I'm installing Creative Cloud on a MAC OSX 10.6.8   I have the 'installing window' displaying that it is about 95% complete but hasn't moved in 30 minutes; cannot quit it either...cancel button doesn't work, can't esc. What's up?

    I'm installing Creative Cloud on a MAC OSX 10.6.8
    You'll have to upgrade your operating system first.
    Most, if not all, Cloud apps require at least OS X 10.7.

  • Lost my iPad and when I attempt to use the "LOST" feature in icloud, the NEXT and CANCEL buttons are not responding.  I have tried this on 3 different windows based computers.  Any ideas???

    When using icloud because I lost my ipad...when i attempt to use the "LOST" feature the "next" and "cancel" buttons do not respond.  I have attempted this on 3 different windows based computers on 3 different networks.  Any ideas? 

    Report to police along with serial number. Change all your passwords.
    These links may be helpful.
    How to Track and Report Stolen iPad
    http://www.ipadastic.com/tutorials/how-to-track-and-report-stolen-ipad
    Reporting a lost or stolen Apple product
    http://support.apple.com/kb/ht2526
    Report Stolen iPad Tips and iPad Theft Prevention
    http://www.stolen-property.com/report-stolen-ipad.php
    How to recover a lost or stolen iPad
    http://ipadhelp.com/ipad-help/how-to-recover-a-lost-or-stolen-ipad/
    How to Find a Stolen iPad
    http://www.ehow.com/how_7586429_stolen-ipad.html
    Apple Product Lost or Stolen
    http://sites.google.com/site/appleclubfhs/support/advice-and-articles/lost-or-st olen
    Oops! iForgot My New iPad On the Plane; Now What?
    http://online.wsj.com/article/SB10001424052702303459004577362194012634000.html
    If you don't know your lost/stolen iPad's serial number, use the instructions below. The S/N is also on the iPad's box.
    How to Find Your iPad Serial Number
    http://www.ipadastic.com/tutorials/how-to-find-your-ipad-serial-number
     Cheers, Tom

  • Reg: save exit and cancel buttons

    Hi,
    In normal report programs when we enable the back , exit and cancel buttons they work fine without writing any code.but its not in the case of Module pool why?
    In thr normal reports where does the code come from?
    regards
    prasanth

    Hi....
    Module pool programs is nothing but screen flow + reports...
    Here we designing the screens....
    So we hav to to give every functionality.. for all buttons and menu items of the appeared screen...
    Where as in reports...,
    We are just using the standard screen (sellection screen and list output screen ) s mostly...,
    Here also some times we hav to go for created screens.. nothing but.... interactive reports...,
    There we need to give again all those functionalities...
    And..,
    To see the BACK button logic and other logics in the reports...,
    Ex: PAI event of SAPLWBABAP program..., 
    You can find that name with...
    By giving /H and enter before ur action...
    Thanks,
    Naveen.I

  • Data loss popup for cancel button on overview page

    Hi Experts,
    Data loss popup generally appears on UI, when i try to navigate with out saving the changes. This is a standard SAP behaviour.
    But, i come across the requirement where this data loss popup should also appear on clicking the 'Cancel' button on overview page on UI.
    I understood that, this popup will be triggered by the methods ON_BEFORE_WA_CONTENT_CHANGE & IF_BSP_WD_EVENT_HANDLER~HANDLE_EVENT of the window impl class.
    Please suggest how can i make this popup work in case of Cancel button as well.
    Thanks....

    Hi bkvs,
    Usually when you click the "Cancel" button that means you don't want to save your entry... hence displaying the dataloss popup doesn't make really sense to me. However, you may want the user to confirm that he really wants to cancel.
    So I would suggest to redefine the EH_ON_CANCEL method of your view, to display a simple confirmation popup before you actually cancel everything. This wiki will show you how to do it:
    Creating popup message in webclient UI - CRM - SCN Wiki
    Regards,
    Nicolas.

Maybe you are looking for