Martin, I have attached a quickstart to the JIRA issue which demonstrates an alternate implementation of WindowClosedBehavior, using an AjaxFormSubmitBehavior extension.
________________________________ RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com | www.missionse.com<http://www.missionse.com/> 304 West Route 38, Moorestown, NJ 08057-3212 From: Martin Grigorov [mailto:mgrigo...@apache.org] Sent: Thursday, April 21, 2011 10:52 AM To: Russell Morrisey Subject: Re: ModalWindow patch for 1.4.x Thanks! On Thu, Apr 21, 2011 at 5:26 PM, Russell Morrisey <russell.morri...@missionse.com<mailto:russell.morri...@missionse.com>> wrote: Martin, Thanks for your reply. I created a JIRA issue with the .patch file: https://issues.apache.org/jira/browse/WICKET-3630 I will work on creating an example. Thanks, RUSSELL E. MORRISEY Programmer Analyst Professional Mission Solutions Engineering, LLC | russell.morri...@missionse.com<mailto:russell.morri...@missionse.com> | www.missionse.com<http://www.missionse.com> 304 West Route 38, Moorestown, NJ 08057-3212 -----Original Message----- From: Martin Grigorov [mailto:mgrigo...@apache.org<mailto:mgrigo...@apache.org>] Sent: Thursday, April 21, 2011 2:35 AM To: users@wicket.apache.org<mailto:users@wicket.apache.org> Subject: Re: ModalWindow patch for 1.4.x Hi, I don't see attached file. Maybe .patch files are not allowed. If you create ticket then please create either tests for the new functionality or at least a demo application that uses it. Thanks! On Thu, Apr 21, 2011 at 2:27 AM, Russell Morrisey < russell.morri...@missionse.com<mailto:russell.morri...@missionse.com>> wrote: > 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 * > > | russell.morri...@missionse.com<mailto:russell.morri...@missionse.com> | > 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: > users-unsubscr...@wicket.apache.org<mailto:users-unsubscr...@wicket.apache.org> > For additional commands, e-mail: > users-h...@wicket.apache.org<mailto:users-h...@wicket.apache.org> > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/> 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. -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com<http://jweekend.com/> ________________________________ 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.