Details
Description
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
setOutputMarkupId(true)
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
setOutputMarkupId(true)
.
Attachments
Issue Links
- is broken by
-
WICKET-5974 Change AjaxPagingNavigator#onAjaxEvent() to only consider parent components that have setOutputMarkupId(true)
- Resolved