public interface IListConverter
Tagify
component. Normally, a list is used as the model for the tag list. If a different
type needs to be used (such as a comma separated string), a list converter must be specified that can convert between
the list of tags and the internal model representation.Modifier and Type | Method and Description |
---|---|
List<Object> |
convertToList(Object value)
Converts the model value of the backing bean to a list of tags.
|
Object |
convertToObject(List<Object> list)
Converts the list of tags to the model value of the backing bean.
|
List<Object> convertToList(Object value)
UIOutput.setConverter(javax.faces.convert.Converter)
).value
- The model value, as returned by UIInput.getValue()
.Object convertToObject(List<Object> list)
UIOutput.getConverter()
.list
- The current list of tags.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.