Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.4.17
Description
This change lets me replace the WindowClosedBehavior with a custom implementation, and preserves the code in getWindowOpenJavascript() that manages the javascript setting by using an interface. The body of the behavior's respond() method is made a member of ModalWindow, so that it can be called by custom implementers.
Use cases:
-Add an IAjaxCallDecorator w/script which disables UI controls on the containing page while the window closed behavior is being processed
-Substitute a behavior which submits the form on the containing page after the modal window is closed