Hi Peter,
in Wicket 7.x the default event handling is no longer prevented by default.
Thus the browser submits the form ("submit" is the default type) *after*
the Ajax request has been processed.
I agree that AjaxLink should not submit in any case: We might decide to
alter the tag to always have type=button.
Please open a Jira issue.
Thanks
Sven
On 05/16/2014 11:12 AM, Peter Henderson wrote:
Hi Wicket users.
It looks like Wicket 7 treats all <button> without a type attribute as
submit buttons (6.15 does not)
Would it be possible revert this? or at least add a warning log
message when <button> is missing the attribute?
I think the code should control if the button submits the form.
(AjaxSubmitLink or AjaxLink) not the type attribute.
I've attached a quick start
--
Peter Henderson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org