Class PropertyListView<T>

Type Parameters:
T - type of elements contained in the model's list
All Implemented Interfaces:
Serializable, Iterable<Component>, IEventSink, IEventSource, IFeedbackContributor, IConverterLocator, IMetadataContext<Serializable,Component>, IHeaderContributor, IRequestableComponent, IHierarchical<Component>, IClusterable

public abstract class PropertyListView<T> extends ListView<T>
Simple ListVew subclass that wraps its item models in a CompoundPropertyModel. Useful for lists where the item components will be mapped through property expressions.
Author:
Nathan Hamblen
See Also:
  • Constructor Details

    • PropertyListView

      Construct without model, assume bound externally.
      Parameters:
      id - Wicket id
    • PropertyListView

      public PropertyListView(String id, IModel<? extends List<T>> model)
      Construct with a model.
      Parameters:
      id - Wicket id
      model - wrapping a List
    • PropertyListView

      public PropertyListView(String id, List<T> list)
      Construct with a "small," unmodeled List. The object can not be detached and will reside in the session, but is convenient for lists of a limited size.
      Parameters:
      id - Wicket id
      list - unmodeled List
  • Method Details