Please consider the following ModalWindow patch for inclusion in wicket-extensions 1.4.x
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 I've attached the .patch file. Do I need to create a JIRA issue? Thanks, guys, ________________________________ RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | [email protected] | www.missionse.com<http://www.missionse.com/> 304 West Route 38, Moorestown, NJ 08057-3212 ________________________________ This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind MSE to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose.
--------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
