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

PageableListView constructor argument and set/getItemsPerPage are inconsistent

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.0.0
    • 8.0.0-M1
    • wicket
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: