All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public abstract class BootstrapListView<T> extends ListView<T>
A special list view that is styled by bootstrap.
Author:
miha
See Also:
  • Constructor Details

    • BootstrapListView

      public BootstrapListView(String id)
      Construct.
      Parameters:
      id - the markup id
    • BootstrapListView

      public BootstrapListView(String id, IModel<? extends List<T>> model)
      Construct.
      Parameters:
      id - the markup id
      model - the list model
    • BootstrapListView

      public BootstrapListView(String id, List<T> listData)
      Construct.
      Parameters:
      id - the markup id
      listData - the list data
  • Method Details

    • unstyled

      public BootstrapListView<T> unstyled()
      whether to us styles or not for ul tags.
      Returns:
      this instance for chaining
    • horizontal

      public BootstrapListView<T> horizontal()
      sets a special css class so that this list will be rendered horizontally.
      Returns:
      this instance for chaining.