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/10/16 15:25:05 UTC

[jira] [Commented] (WICKET-6005) WicketRuntimeException from AjaxPagingNavigator#onAjaxEvent

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

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

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

WICKET-6005 allow updating of whole page


> WicketRuntimeException from AjaxPagingNavigator#onAjaxEvent
> -----------------------------------------------------------
>
>                 Key: WICKET-6005
>                 URL: https://issues.apache.org/jira/browse/WICKET-6005
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 7.1.0
>            Reporter: Sven Haster
>            Assignee: Sven Meier
>              Labels: ajax, navigator
>
> In WICKET-5974 a change was added where the AjaxPagingNavigator checks if its {{pageable}} has a parent that is a) not a repeater and b) has outputMarkupId set to {{true}}. If not, a WicketRuntimeException is thrown ("Unable to find a parent component that is no repeater and has setOutputMarkupId(true)")
> This is a significant break from the logic before, where the AjaxPagingNavigator checked if its {{pageable}} has a parent that is not a repeater and if so, added it to the AjaxRequestTarget, which then would check if the component has {code}setOutputMarkupId(true){code} *or if it is a page*.  (see AjaxRequestHandler#add(Component...) )
> This last part is significant because it means that any repeater added directly to a page before would work with the AjaxPagingNavigator but now it will only work if that page has {code}setOutputMarkupId(true){code}. 



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