Class PropertyListView<T>

    • Constructor Detail

      • PropertyListView

        public PropertyListView​(java.lang.String id)
        Construct without model, assume bound externally.
        Parameters:
        id - Wicket id
      • PropertyListView

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

        public PropertyListView​(java.lang.String id,
                                java.util.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 Detail

      • getListItemModel

        protected IModel<T> getListItemModel​(IModel<? extends java.util.List<T>> model,
                                             int index)
        Wraps a ListItemModel in a CompoundPropertyModel.
        Overrides:
        getListItemModel in class ListView<T>
        Parameters:
        model -
        index -
        Returns:
        a CompoundPropertyModel wrapping a ListItemModel