Class AjaxPagingNavigator

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<java.io.Serializable,​Component>, IQueueRegion, IHeaderContributor, IRequestableComponent, org.apache.wicket.util.IHierarchical<Component>, org.apache.wicket.util.io.IClusterable

    public class AjaxPagingNavigator
    extends PagingNavigator
    A Wicket panel component to draw and maintain a complete page navigator, meant to be easily added to any PageableListView. A navigation which contains links to the first and last page, the current page +- some increment and which supports paged navigation bars (@see PageableListViewNavigationWithMargin).

    NOTE To use the AjaxPagingNavigator, you have to put your ListView in a WebMarkupContainer, otherwise it is not possible to update the contents of the listview using Ajax.

    Since:
    1.2
    Author:
    Martijn Dashorst
    See Also:
    Serialized Form
    • Constructor Detail

      • AjaxPagingNavigator

        public AjaxPagingNavigator​(java.lang.String id,
                                   IPageable pageable)
        Constructor.
        Parameters:
        id - See Component
        pageable - The pageable component the page links are referring to.
      • AjaxPagingNavigator

        public AjaxPagingNavigator​(java.lang.String id,
                                   IPageable pageable,
                                   IPagingLabelProvider labelProvider)
        Constructor.
        Parameters:
        id - See Component
        pageable - The pageable component the page links are referring to.
        labelProvider - The label provider for the link text.