SetRowsPerPage with AjaxFallbackDefaultDataTable
------------------------------------------------

                 Key: WICKET-2402
                 URL: https://issues.apache.org/jira/browse/WICKET-2402
             Project: Wicket
          Issue Type: Bug
          Components: wicket-extensions
    Affects Versions: 1.4-RC7
         Environment: Ubuntu 9.04, Java build 1.6.0_14-b08
            Reporter: Cheong Chung Onn


The issue was reported earlier by Anton Veretennikov 
http://www.nabble.com/setRowsPerPage-with-AjaxFallbackDefaultDataTable-tp22521131p22521131.html.

His proposed solution to override the NavigationToolbar#isVisible works for me 
too.

  @Override
  public boolean isVisible() {
    return table.getPageCount()>1;
  } 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to