AjaxFallbackButton.onSubmit call order
Hi guys, I may have stumbled upon a problem while testing my site with JavaScript disabled. I created a simple extension of WebPage with one form containing a label, and an AjaxFallbackButton to verify the problem. When JavaScript is enabled (and the form validates, obviously), the call order is Form.onSubmit() AjaxFallbackButton.onSubmit(AjaxRequestTarget target, Form? form) ... and when JavaScript is disabled, the order is AjaxFallbackButton.onSubmit(AjaxRequestTarget target, Form? form) Form.onSubmit() While researching this problem to see if anyone else encountered the same thing, I found http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackButton-inconsistend-submit-order-td1845016.html Is my much simpler scenario also a (known) bug? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackButton-onSubmit-call-order-tp2067805p2067805.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxFallbackButton.onSubmit call order
Yes, it's the same bug. What version are you using? It looks like we have not yet addressed this issue. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 27, 2010 at 10:37 AM, Jacob DuBray jacob.dub...@starkbros.comwrote: Hi guys, I may have stumbled upon a problem while testing my site with JavaScript disabled. I created a simple extension of WebPage with one form containing a label, and an AjaxFallbackButton to verify the problem. When JavaScript is enabled (and the form validates, obviously), the call order is Form.onSubmit() AjaxFallbackButton.onSubmit(AjaxRequestTarget target, Form? form) ... and when JavaScript is disabled, the order is AjaxFallbackButton.onSubmit(AjaxRequestTarget target, Form? form) Form.onSubmit() While researching this problem to see if anyone else encountered the same thing, I found http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackButton-inconsistend-submit-order-td1845016.html Is my much simpler scenario also a (known) bug? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackButton-onSubmit-call-order-tp2067805p2067805.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxFallbackButton.onSubmit call order
Thanks for the quick reply. I'm using 1.4.7 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackButton-onSubmit-call-order-tp2067805p2067907.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org
Re: AjaxFallbackButton.onSubmit call order
I added 1.4.7 to the affected versions of https://issues.apache.org/jira/browse/WICKET-1894 based on your report. You're welcome to dig in and create a patch and attach it to the JIRA. -- Jeremy Thomerson http://www.wickettraining.com On Tue, Apr 27, 2010 at 11:35 AM, Jacob DuBray jacob.dub...@starkbros.comwrote: Thanks for the quick reply. I'm using 1.4.7 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/AjaxFallbackButton-onSubmit-call-order-tp2067805p2067907.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org