Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-6007

PageableListView constructor argument and set/getItemsPerPage are inconsistent

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.0.0
    • Fix Version/s: 8.0.0-M1
    • Component/s: wicket
    • Labels:
      None

      Description

      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;

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                svenmeier Sven Meier
                Reporter:
                tta Tero Tarkkala
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: