Search in sources :

Example 1 with AbstractRepeater

use of org.apache.wicket.markup.repeater.AbstractRepeater in project midpoint by Evolveum.

the class NavigatorPanel method changeCurrentPage.

private void changeCurrentPage(AjaxRequestTarget target, long page) {
    pageable.setCurrentPage(page);
    Component container = ((Component) pageable);
    while (container instanceof AbstractRepeater) {
        container = container.getParent();
    }
    target.add(container);
    target.add(this);
    onPageChanged(target, page);
}
Also used : Component(org.apache.wicket.Component) AbstractRepeater(org.apache.wicket.markup.repeater.AbstractRepeater)

Aggregations

Component (org.apache.wicket.Component)1 AbstractRepeater (org.apache.wicket.markup.repeater.AbstractRepeater)1