Tero Tarkkala created WICKET-6007:
-------------------------------------

             Summary: PageableListView constructor argument and 
set/getItemsPerPage are inconsistent
                 Key: WICKET-6007
                 URL: https://issues.apache.org/jira/browse/WICKET-6007
             Project: Wicket
          Issue Type: Bug
    Affects Versions: 7.0.0
            Reporter: Tero Tarkkala


I bumped into a little inconsistency, PageableListView constructors want an int 
like this:
public PageableListView(final String id, final IModel<? extends List<T>> model, 
int itemsPerPage)

But the set/getItemsPerPage and the property itemsPerPage use a long:
public final long getItemsPerPage()
public final void setItemsPerPage(long itemsPerPage)
private long itemsPerPage;







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

Reply via email to