> MyAjaxPagingNavigator extends from my own PagingNavigator subclass. 
> But I have a problem my own class doesn't work...If I clicked to next
> page, the entire page is refresh,

because AjaxPagingNavigationBehavior call onAjaxEvent() only if Navigator
class is AjaxPagingNavigator.class.
I add 'onclick' behavior as below, it seems work fine.

protected Link<?> newPagingNavigationIncrementLink(String id, IPageable
pageable, int increment) {
    AjaxPagingNavigationIncrementLink link = new
AjaxPagingNavigationIncrementLink(id, pageable, increment);
    link.add(new MyAjaxBehavior(link, pageable, "onclick") {
        protected void onEvent(AjaxRequestTarget target) {
    return link;

View this message in context: 
Sent from the Users forum mailing list archive at Nabble.com.

To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to