Handles setting a jakarta.faces.convert.Converter instance on a jakarta.faces.component.ValueHolder
parent. Will wire all attributes set to the Converter instance created/fetched. Uses the "binding"
attribute for grabbing instances to apply attributes to.
Will only set/create Converter if the passed UIComponent's parent is
null, signifying that it wasn't restored from an existing tree.
| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private TagHandlerDelegate |
| Access | Constructor and Description |
|---|---|
| public | ConverterHandler(ConverterConfig
converter config where the converter Id is taken from. config)Creates a new ConverterHandler using the given config. |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the converter Id.facelet context used to resolve the converter Id from an attribute. ctx)Returns the converter Id. The converter Id is taken from the attribute "converterId" |
| protected TagHandlerDelegate | getTagHandlerDelegate()
Implements abstract jakarta. Get the tag handler delegate. |
| converterId | back to summary |
|---|---|
| private String converterId | |
| helper | back to summary |
|---|---|
| private TagHandlerDelegate helper | |
| ConverterHandler | back to summary |
|---|---|
| public ConverterHandler(ConverterConfig config) Creates a new ConverterHandler using the given config.
| |
| getConverterId | back to summary |
|---|---|
| public String getConverterId(FaceletContext ctx) Returns the converter Id. The converter Id is taken from the attribute "converterId"
| |
| getTagHandlerDelegate | back to summary |
|---|---|
| protected TagHandlerDelegate getTagHandlerDelegate() Implements abstract jakarta. Doc from jakarta. Get the tag handler delegate. Code that extends from DelegatingMetaTagHandler (directly or indirectly, as through extending ComponentHandler) must take care to decorate, not replace, the TagHandlerDelegate instance returned by this method. Failure to do so may produce unexpected results.
| |