[ 
https://issues.apache.org/jira/browse/WICKET-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sven Meier resolved WICKET-6007.
--------------------------------
       Resolution: Fixed
    Fix Version/s: 8.0.0-M1

Fixed in Wicket 8.

> 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
>          Components: wicket
>    Affects Versions: 7.0.0
>            Reporter: Tero Tarkkala
>            Assignee: Sven Meier
>            Priority: Minor
>             Fix For: 8.0.0-M1
>
>
> 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