You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alexey Prudnikov (JIRA)" <ji...@apache.org> on 2014/11/12 09:19:34 UTC
[jira] [Created] (WICKET-5757) Click on navigation links leads to
two same events
Alexey Prudnikov created WICKET-5757:
----------------------------------------
Summary: Click on navigation links leads to two same events
Key: WICKET-5757
URL: https://issues.apache.org/jira/browse/WICKET-5757
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 7.0.0-M3
Reporter: Alexey Prudnikov
Priority: Minor
When component AjaxPagingNavigationLink (or AjaxPagingNavigationIncrementLink) is created, Wicket assigns onClick event handler on it and create link such as <a href="...ILinkListener-..."> at same time (http://www.wicket-library.com/wicket-examples-6.0.x/repeater/wicket/bookmarkable/org.apache.wicket.examples.repeater.AjaxDataTablePage). Despite on it, in Wicket 6.x click on such link leads to only one event.
But Wicket 7 process two events - JavaScript onClick and HTML link jump. So the page is incremented two times or exception raises (if link already dissapear).
Such issue (with possible workaround) also described on StackOverflow: http://stackoverflow.com/questions/25905132/navigation-in-wicket-ajaxpagingnavigator
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)