Hi,
I think Sven's solution is more generic.
Also it will be consistent with WICKET-5597
On Apr 13, 2015 5:20 PM, Sven Meier s...@meiers.net wrote:
Well, then we should change the type attribute as well, i.e. from submit
to button.
Why not just use #setPreventDefault(true)? Because if
Done! thank you guys.
On 14/04/2015 08:44, Martin Grigorov wrote:
Hi,
I think Sven's solution is more generic.
Also it will be consistent with WICKET-5597
On Apr 13, 2015 5:20 PM, Sven Meier s...@meiers.net wrote:
Well, then we should change the type attribute as well, i.e. from submit
to
Well, then we should change the type attribute as well, i.e. from
submit to button.
Why not just use #setPreventDefault(true)? Because if JavaScript is
disabled, the browser will still submit the form, without triggering the
callback on the AjaxSubmitLink.
Regards
Sven
Am 13.04.2015 um
Due to WICKET-5197 I think we should add to
'attributes.setPreventDefault(true);' to AjaxSubmitLink
Hi,
Please create a quickstart app and attach it to a ticket at JIRA.
Thanks!
On Apr 12, 2015 9:43 PM, Don Ferguson don.fergu...@gmail.com wrote:
Dear Wicket Boffins,
I have a Wicket 6 app
Hi Andrea,
since WICKET-5597 AjaxSubmitLink already changes the button to prevent
default submitting of the form:
tag.put(type, button);
Have fun
Sven
Am 13.04.2015 um 14:19 schrieb Andrea Del Bene:
Due to WICKET-5197 I think we should add to
'attributes.setPreventDefault(true);' to
Done.
https://issues.apache.org/jira/browse/WICKET-5879
https://issues.apache.org/jira/browse/WICKET-5879
On Apr 12, 2015, at 12:47 PM, Martin Grigorov mgrigo...@apache.org wrote:
Hi,
Please create a quickstart app and attach it to a ticket at JIRA.
Thanks!
On Apr 12, 2015 9:43 PM,
The case pointed out by Don is slightly different as the AjaxSubmitLink
is attached to a input type=submit/ tag. Adding
'attributes.setPreventDefault(true);' in updateAttributes actually
solves his problem.
On 13/04/2015 14:32, Sven Meier wrote:
Hi Andrea,
since WICKET-5597 AjaxSubmitLink
Dear Wicket Boffins,
I have a Wicket 6 app that I’ve recently migrated to Wicket 7. In the app
there is a form whose AjaxSubmitLink hides the form as part of the submit. In
Wicket7, this causes a ListenerInvocationNotAllowedException to be thrown,
since the component that submitted the form
Hi,
Please create a quickstart app and attach it to a ticket at JIRA.
Thanks!
On Apr 12, 2015 9:43 PM, Don Ferguson don.fergu...@gmail.com wrote:
Dear Wicket Boffins,
I have a Wicket 6 app that I’ve recently migrated to Wicket 7. In the
app there is a form whose AjaxSubmitLink hides the