Class CheckGroup<T>

    • Constructor Detail

      • CheckGroup

        public CheckGroup​(java.lang.String id)
        Constructor that will create a default model collection
        Parameters:
        id - component id
      • CheckGroup

        public CheckGroup​(java.lang.String id,
                          java.util.Collection<T> collection)
        Constructor that wraps the provided collection with the org.apache.wicket.model.Model object
        Parameters:
        id - component id
        collection - collection to be used as the model
    • Method Detail

      • convertValue

        protected java.util.Collection<T> convertValue​(java.lang.String[] values)
                                                throws org.apache.wicket.util.convert.ConversionException
        Description copied from class: FormComponent
        Subclasses should overwrite this if the conversion is not done through the type field and the IConverter. WARNING: this method may be removed in future versions. If conversion fails then a ConversionException should be thrown
        Overrides:
        convertValue in class FormComponent<java.util.Collection<T>>
        Parameters:
        values - The value can be the getInput() or through a cookie
        Returns:
        The converted value. default returns just the given value
        Throws:
        org.apache.wicket.util.convert.ConversionException - If input can't be converted