public class ConverterHandler extends FaceletsAttachedObjectHandler implements ValueHolderAttachedObjectHandler
Handles setting a Converter
instance on a 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.
delegateFactory
nextHandler, tag, tagId
Constructor and Description |
---|
ConverterHandler(ConverterConfig config) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getConverterId(FaceletContext ctx) |
protected TagHandlerDelegate |
getTagHandlerDelegate()
Get the tag handler delegate. |
applyAttachedObject, getAttachedObjectHandlerHelper, getFor
apply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
getAttribute, getRequiredAttribute, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
applyAttachedObject, getFor
public ConverterHandler(ConverterConfig config)
protected TagHandlerDelegate getTagHandlerDelegate()
DelegatingMetaTagHandler
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.
getTagHandlerDelegate
in class DelegatingMetaTagHandler
public java.lang.String getConverterId(FaceletContext ctx)