ICEfaces
  1. ICEfaces
  2. ICE-11555

Add proper support for the confirmation dialog before closing a window

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: EE-4.3.0.GA_P04, EE-3.3.0.GA_P10
    • Component/s: Bridge
    • Labels:
      None
    • Environment:
      Any

      Description

      A supported customer recently contacted us to ask how could they show a confirmation dialog before closing a window. While we provided the javascript code to accomplish that, one problem remained: When the user confirms that they want to leave the page the 'window.dispose' action is not triggered.

      We tried to come up with a workaround, but it wasn't possible to accomplish this without modifying the bridge code. The javascript function that triggers this action is simply not exposed to be called by ICEfaces application developers, and the parameters needed to call this function are not easily accessible either. So, we need to add proper support for this use case of showing the confirmation dialog when closing a window and triggering the `window.dispose` action if the user confirms that they want to leave the page.

        Activity

        There are no subversion log entries for this issue yet.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arturo Zambrano
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: