Details
-
Type:
Improvement
-
Status: Resolved
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: EE-4.3.0.GA_P04, EE-3.3.0.GA_P10
-
Fix Version/s: EE-4.3.0.GA_P05, EE-3.3.0.GA_P11
-
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.
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
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion