When closing Popup Window it does not ask "discard data?" dialog

We have a popup window to create/update a record. When we click on 'Close Window' on this popup window with unsaved changes it does NOT show the dialog popup - "The changes you have made to this page have not been saved. If you continue, the changes will be discarded. Do you wish to continue?"
What do I need to do to ensure the dialog popup is shown so that the underlying VO/EO are left in a consistent state before closing the popup window?
At the moment, if the user navigates to the popup window a second time in the same session the EO cache is retained and causes create to fail.
Regards
Firoz

The message you are talking about is a Warn About Changes message and it shows only if the user tries to navigate away from the page page without committing/rollbacking the data.
As far as Window close is concerned check whether the windows.close() could be handled using Javascripts. As far as OA framework is concerned I would recommend you do not retain the AM while the pop up window is opened. This way no data from previous popup would be available. Just make sure that you pass sufficient parameters to initialize the popup everytime.
Regards

Similar Messages

  • ReturnListener invocation when closing popup window with (X) Button

    When I use a bounded task flow in an inline-pop, when the user clicks on the upper right (X) button of the popup window, the ReturnListener
    is not invoked which needs to be called in my use case because I need to refresh the caller’s table displayed in the calling screen. Do you know if there is a way to invoke the ReturnListener method to be invoked in case of closing the dialog via (X) button on the top right? Or how to refresh(addPartialTrigger) the caller’s table in that case.
    This behavior is described in Andrejus following
    http://andrejusb.blogspot.com/2009/11/crud-operations-in-jdeveloperadf-11g-r1.html
    Thanks for your feedback.
    Best Regards,
    JP

    Hi,
    We created our own region in popup system partly for that reason. You have to add a popupClosed client listener and send a custom event to the server to in turn call the returnListener. Sadly, it's really not simple to implement, so I cannot come up with a good solution for you. :(
    Regards,
    ~ Simon

  • When I closedown Firefox it does not ask me if a want to "save and close" my tabs. This is something that I use all the time with the older version. Is it still possible to do that?

    In the old version of Firefox I could save all my open tabs when I shutdown Firefox but now with the new version it does not give me that option to save the tabs before closing Firefox.

    You can set the warn prefs on the about:config page to true via the right-click context menu or toggle with a double left-click.
    * browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
    * browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    * browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    * browser.showQuitWarning (Firefox 4 only)

  • After using Tab Groups earlier today, now anytime I close FF with more than 1 tab open, FF does NOT ask me to confirm before closing

    After using Tab Groups earlier today, now anytime I close FF with more than 1 tab open, FF does NOT ask me to confirm before closing. FF always has asked me to confirm in the past and no settings were changed prior to trying the Tab Groups. Then when I reopen FF all the tabs that I had open are still there. I've tried refreshing FF and clearing history but that didn't work. It's almost as though FF thinks the window and tabs I have open are a tab group and it won't let me get rid of that group. How do I stop the Tab Groups now that I got them? Or is there something else going on? None of this was happening until I played with the Tab Groups this morning. I was curious what it was --- that's going to get me killed one of these days lol.

    Thanks. Somehow the "Show my windows and tabs" box had gotten checked. I know I didn't check that box and the "Warn me when closing multiple tabs" box has always been checked. Like I said, it was all working fine until I tried the tab groups so I'm wondering if maybe that checks the "Show my windows and tabs" box by default?
    Anyway, it's fixed now. Thanks so much!

  • Firefox does not ask to save tabs and windows on exit

    I've done everything suggested in this article:
    [https://support.mozilla.com/en-US/kb/Firefox+does+not+ask+to+save+tabs+and+windows+on+exit]
    Settings in "Options" are ok.
    I have no extensions/themes. And the problem is still there on safe mode.
    Out of the two files mentioned as possibly corrupted, I deleted formhistory.sqlite but the file sessionstore.js is not in the profile directory when Firefox is closed (as the article suggests... it is there when Firefox is open)

    What is the startup setting?
    Tools > Options > General > Startup: "When Firefox Starts"
    In Firefox 3 you do not get the 'Save & Quit' pop-up dialog if you choose Tools > Options > General > Startup: "When Firefox Starts": "Show my windows and tabs from last time".<br />
    If that option is selected then your pages will already be reopened the next time.<br />
    To get that pop-up dialog you have to select one of the other choices (Show my home page,Show a blank page).<br />
    You can reset the warn prefs on the about:config page via the right-click context menu.<br />
    browser.tabs.warnOnClose , see http://kb.mozillazine.org/About%3Aconfig_entries
    browser.warnOnQuit , see http://kb.mozillazine.org/browser.warnOnQuit
    browser.warnOnRestart , see http://kb.mozillazine.org/browser.warnOnRestart
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />

  • Fire Fox does not ask to save tabs when I exit. It started this when I loaded my last update - 4.0. How do I fix? Getting tired of starting over . . .

    Fire Fox does not ask to save tabs when I exit. It started this when I loaded my last update - 4.0. How do I fix? Getting tired of starting over . . .

    Firefox now always stores the old session, and you can access it by going to the History menu and selecting "Restore Previous Session"
    If you want Firefox to display the message to save the session, it can be turned back on by changing some preferences.
    # Type '''about:config''' into the location bar and press enter
    # Accept the warning message that appears, you will be taken to a list of preferences
    # Locate the preference '''browser.tabs.warnOnClose''', if its value is set to '''false''', double-click on it to change its value to '''true'''
    # Repeat this for these 3 preferences '''browser.warnOnQuit''', '''browser.warnOnRestart''' and '''browser.showQuitWarning'''
    If you always open the last set of tabs, an alternative approach is this:
    # Click the orange Firefox button, then select options to open the options window
    # Go to the General panel
    # Change the setting "When Firefox starts" to "Show my windows and tabs from last time"

  • Popup to confirm when closing browser window?

    Hi
    I want to display popup confirm window when closing browser window, "changes will be lost" yes or no. for this i searched forums got some idea, about "WORK PROTECT MODE". this will work only when our application running from portal. my doubt is where should i write code for this??? any help
    Thanks,
    kris.

    Hi Thomas,
    We are on ECC6.0 enph5.
    In system configuration in epc.loader(service) the value for work protect mode is set as 1 - Protect unsaved data (open page in a new window) 
    1)Is it possible to override this value within WD ABAP application? for example show popup window when there is unsaved data
    2)In this scenario what is the significance of L_PORTAL_MANAGER->SET_WORK_PROTECT_MODE
    and   L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG
    3)Where exactly  L_PORTAL_MANAGER->SET_APPLICATION_DIRTY_FLAG has to coded. It does trigger modify method of the view.
    Thanks,
    chamu

  • Why can't I update or load new apps on my iPhone and iPad. It does not ask me for my password. I tried to sync from my laptop now I am unable to connect to any sites from internet explorer. When I try to update or load any app it tells me it is corrupt

    Why can't I update or load new apps on my iPhone and iPad. It does not ask me for my password. I tried to sync from my laptop now I am unable to connect to any sites from internet explorer. When I try to update or load any app it tells me it is corrupt

    You need to ask Apple for assistance with getting back into your old ID. To do this, click here and pick a method; if that page doesn't list one for your country or you're unable to resolve this issue through the Account Security team, fill out and submit this form.
    (118441)

  • Hello everyone, Very recently itunes on my windows computer does not let me access any items in my Library except for "Apps" and "Ringtones". When I click on any other items it flashes the redcircle meaning forbidden".

    Hello everyone, Very recently itunes on my windows computer does not let me access any items in my Library except for "Apps" and "Ringtones". When I click on any other items it flashes the redcircle meaning forbidden".
    When I connect my iPhone or iPad I can see every items on them but not on the iTunes Library.
    They sync fine with iTunes.
    I browse all the menus in iTunes but cannot find any clues to what I have done for it to happen. It worked fine previously.
    Thanks for any suggestion.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • Can the apple ID that's the way to eliminate the use of the vacuum when the applications running on the iPad so it does not ask the apple ID code.

    Can the apple ID that's the way to eliminate the use of the vacuum when the applications running on the iPad so it does not ask the apple ID code.

    I don't understand what you are asking - what are you trying to do ?

  • HT3986 I installed windows 7 successfull, but when I start the mac in windows I does not see the wifi, and others things. How do I get the drivers?

    I installed windows 7 successfull, but when I start the mac in windows I does not see the wifi, and others things. How do I get the drivers?
    I remember that with Snow Leopard you could download them from the Apple website.
    Cheers!

    Read the Boot Camp Documentation while you run Boot Camp Assistant to download the Windows Support Software which was the first step in the Boot Camp Setup procedure.

  • This has never been a problem in the past, but when i insert a CD into my macbook, iTunes does not ask me if I want to import it and it ejects the CD.  I have tried several different CD's and can neither play nor import them.

    This has never been a problem before, but when I insert a CD, iTunes does not ask me if i want to import the songs.  It will not play the CD and ejects it.  I have tried several different CDs and cannot import or play any of them.  I can play songs that are already in my library Suecq5

    Try resetting the SMC Intel-based Macs: Resetting the System Management Controller (SMC) - Apple Support
    and PRAM How to Reset NVRAM on your Mac - Apple Support
    If that doesn't help you can try a cleaning disc, or a shot of compressed air but chances are good that your optical drive has failed. You can either replace it or buy an inexpensive external unit (but not Apple's as it won't work on macs with a built in drive working or not).

  • I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    I can only open one Firefox browser window. When I click the firefox icon from desktop or taskbar to open up another browser window it does not open. I am ablt to open up new tabs within the one window.

    Have you tried: click Firefox button > New Tab > New Window '''''OR''''' CTRL+N '''''OR''''' File > New Window (if using the Menu Bar)
    Once open, Firefox locks the Profile that is in use and you can not open another window with that Firefox version and Profile combination using the Windows Desktop icon or the Windows Programs list.

  • When I double-click the tab bar, FF4 just resizes the window but does not open a new tab

    When I double-click the Tab Bar, FF 4.0 just resizes the window but does not open a new tab. It happens when Menu Bar is disabled (not ticked).

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).<br />
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]<br />
    <br />
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.<br />
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.<br />
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")<br />
    Your plugins list shows outdated plugin(s) with known security and stability risks.
    * Shockwave Flash 10.0 r32
    * Java Plug-in 1.6.0_03 for Netscape Navigator (DLL Helper)
    Update the [[Java]] plugin to the latest version.
    *http://java.sun.com/javase/downloads/index.jsp (Java Platform: Download JRE)
    Update the [[Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/

  • ABAP Web Dynpro Window Inactive After Closing Popup Window

    Hello ABAP'ers
    I have a custom ABAP Web dynpro applications that uses multiple tiers of popup windows.  This application was functioning properly in our ECC6.0, Basis release 7.00 Service level 15 environment.  However, we are currently installing EHP4 and moving or basis release to 7.01 service level 5. In this new environment, when multiple popup window tiers are closed simultaneously, the underlining window is not re-activated.
    Here's a more specific description:
    The application starts with a control panel window presenting a series of buttons.  Selecting one of these buttons activates a modal (I know... all web dynpro popups are modal) popup window for the purpose of maintaining some object.  If the user attempts to exit this window without saving the changes, another popup window appears asking if they want to save their changes.  If they say no, both the popup window asking the question and the popup maintenance window are closed, thus returning the user to the switchboard.
    The problem is that none of the functionality on the switchboard is active. the user must manually refresh the URL to "reactivate" the switchboard. 
    When only a single popup window is closed, the underlying window is properly reactivated.  The problem only occurs when multiple popups are closed together.
    Has anybody else seen this occur? Any ideas / notes around to correct it?
    Any info is greatly appreciated.
    R/
    Jim M

    Hello Jim, hello everyone,
    I am encountering the same issue.
    Is a solution known already?
    Thanks
    Johannes

Maybe you are looking for

  • How do i create a new Apple ID, when it was being used by someone else?

    I am VERY i phone/ computer illederate. I am on my pc, with my sons old (we traded, he wanted my samsung 3) i phone. i cannot do anything, eg. new apps,etc because it comes up with his e mail and asks for password which he forgot. So i went to Verizo

  • List of new features in update?

    It would have been nice if Apple posted a feature list of what came with the new upgrade. I'm a little worried that a new feature such as buying ringtones came before contact search, contact categories, cut and paste or synchronization of notes. Does

  • Email keeps asking for me to sign into icloud

    I have an iPhone5 using OS 7.1.2 (I have not updated to OS8 yet). When clicking on the email icon, I get an opening page that has several email apps to choose from.  Since the only one I have on this list is iCloud, I fill in my Apple ID and PW.  It

  • Why cant I install i-tunes in my laptop? showing 'network error' message.

    trying to install i-tunes in my windows 7 laptop. but its showing 'Failed - Network Error'. Tried the steps in Apple support already. What to do?

  • Cross-Site Mail Flow Through Internet

    Hi, I have typical Exchange 2013 servers deployed in 2 AD sites. Currently, mail flow between the 2 sites are going through our WAN. Is there a way to force mail flow between the 2 sites to go through the internet?