Package org.omnifaces.converter


package org.omnifaces.converter
  • Classes
    Class
    Description
    The omnifaces.GenericEnumConverter is intended for use in UISelectMany components whose value is been bound to a List<E> property where E is an enum.
    This converter won't output the percent or currency symbols, that's up to the UI.
    The omnifaces.ListConverter is intented for use in specialized selection components which doesn't use SelectItems as the source for their selectable items, but work directly via a List of entities, and therefore the SelectItemsConverter isn't usable on them.
    The omnifaces.ListIndexConverter is a variant of the ListConverter which automatically converts based on the position (index) of the selected item in the list instead of the Object.toString() of the selected item.
    The omnifaces.SelectItemsConverter allows you to populate a selection component with complex Java model objects (entities) as value of <f:selectItems> and have Faces convert those automatically back without the need to provide a custom converter which may need to do the job based on possibly expensive service/DAO operations.
    The omnifaces.SelectItemsIndexConverter is a variant of the SelectItemsConverter which automatically converts based on the position (index) of the selected item in the list instead of the Object.toString() of the selected item.
    The omnifaces.ToCollectionConverter is intented to convert submitted String values to a Java collection based on a delimiter.
    The omnifaces.ToLowerCaseConverter is intented to convert submitted String values to lower case based on current Locale.
    The omnifaces.ToUpperCaseConverter is intented to convert submitted String values to upper case based on current Locale.
    The omnifaces.TrimConverter is intented to trim any whitespace from submitted String values.
    By default, Faces converters run on every request, regardless of whether the submitted value has changed or not.