Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8126317

[Pagination] need strict specification of behavior on max page indicators count.

    XMLWordPrintable

Details

    Description

      I can set max page indicator count to value < 0, and to value > page count. Behavior in such cases is not specified, but I need to know it to write tests properly and track behavior.

      Docs in b11 say:
      The maximum number of page indicators to use for this pagination control. This value must be greater than or equal to 1. The page indicators will be unselected when the currentPageIndex is greater than the maxPageIndicatorCount. The number of page indicators will be reduced if maxPageIndicatorCount cannot fit within this control. The default is 10 page indicators.

      Also, please, check this phrase: "The page indicators will be unselected when the currentPageIndex is greater than the maxPageIndicatorCount." because now navigation to according range of indicators will be done.

      Attachments

        Activity

          People

            kwwong Kinsley Wong (Inactive)
            akirov Alexander Kirov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              Imported: