You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/08/26 14:43:46 UTC

[jira] [Commented] (WICKET-5974) Change AjaxPagingNavigator#onAjaxEvent() to only consider parent components that have setOutputMarkupId(true)

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

ASF subversion and git services commented on WICKET-5974:
---------------------------------------------------------

Commit 6d7bd5d32090eb4af1fad2da7c009ead2c1f845a in wicket's branch refs/heads/master from [~svenmeier]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=6d7bd5d ]

WICKET-5974 check whether container has setOutputMarkupId(true)


> Change AjaxPagingNavigator#onAjaxEvent() to only consider parent components that have setOutputMarkupId(true)
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5974
>                 URL: https://issues.apache.org/jira/browse/WICKET-5974
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 1.5.13, 6.20.0, 7.0.0
>            Reporter: Tobias Gierke
>            Assignee: Sven Meier
>            Priority: Minor
>         Attachments: WICKET-5974.patch
>
>
> I just found out that for AjaxPagingNavigator to work properly the first non-repeater parent component of the IPageable needs to have setOutputMarkupId(true) , otherwise clicking a button will throw an IAE in ART#add().
> The attached patch (made against the wicket-1.5.13 tag) changes AjaxPagingNavigator#onAjaxEvent() to also check getOutputMarkupId().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)