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 10:09:33 UTC

[jira] [Commented] (WICKET-5757) Click on navigation links leads to two same events

    [ https://issues.apache.org/jira/browse/WICKET-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14207845#comment-14207845 ] 

Alexey Prudnikov commented on WICKET-5757:
------------------------------------------

Unfortunately I couldn't re-test project with 7.0.0-M4 because another API changes between M3 and M4 breaks compilation in many places. But I review the sources and backport changes to my custom classes that extends AjaxPagingNavigationLink and AjaxPagingNavigationIncrementLink. 
Now it seems that all works properly.
Thank you!

> 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)