Module org.omnifaces
Package org.omnifaces.converter
package org.omnifaces.converter
-
ClassesClassDescriptionThe
omnifaces.GenericEnumConverteris intended for use inUISelectManycomponents whose value is been bound to aList<E>property whereEis an enum.This converter won't output the percent or currency symbols, that's up to the UI.Theomnifaces.ListConverteris intented for use in specialized selection components which doesn't useSelectItems as the source for their selectable items, but work directly via aListof entities, and therefore theSelectItemsConverterisn't usable on them.Theomnifaces.ListIndexConverteris a variant of theListConverterwhich automatically converts based on the position (index) of the selected item in the list instead of theObject.toString()of the selected item.Theomnifaces.SelectItemsConverterallows 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.Theomnifaces.SelectItemsIndexConverteris a variant of theSelectItemsConverterwhich automatically converts based on the position (index) of the selected item in the list instead of theObject.toString()of the selected item.Theomnifaces.ToCollectionConverteris intented to convert submittedStringvalues to a Java collection based on a delimiter.Theomnifaces.TrimConverteris intented to trim any whitespace from submittedStringvalues.By default, Faces converters run on every request, regardless of whether the submitted value has changed or not.