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

The PagingNavigator.newNavigation method does not provide a markup id of the element to create an navigation for

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 1.4.5, 1.5-M1
    • wicket
    • None

    Description

      The PagingNavigator.newNavigation method does not provide a markup id of the element to create an navigation for and a javadoc doesn't specify it either. Overriding the method you have to find out the id in question by looking into the source which is neither convenient nor safe way.
      At the moment it looks like the following:
      protected PagingNavigation newNavigation(final IPageable pageable, final IPagingLabelProvider labelProvider)
      A fix could be like this:
      protected PagingNavigation newNavigation(String id, final IPageable pageable, final IPagingLabelProvider labelProvider)

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            vtsaplin Vitaly Tsaplin
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: