public class ConverterTagHandlerDelegate extends TagHandlerDelegate implements ValueHolderAttachedObjectHandler
Will only set/create Converter is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing tree.
| Constructor and Description |
|---|
ConverterTagHandlerDelegate(ConverterHandler delegate) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Set Converter instance on parent ValueHolder if it's not being restored.
|
void |
applyAttachedObject(FacesContext context,
UIComponent parent) |
protected Converter |
createConverter(FaceletContext ctx)
Create a Converter instance
|
MetaRuleset |
createMetaRuleset(Class type) |
String |
getFor() |
public ConverterTagHandlerDelegate(ConverterHandler delegate)
public void apply(FaceletContext ctx, UIComponent parent) throws IOException
createConverter.apply in class TagHandlerDelegateIOExceptionprotected Converter createConverter(FaceletContext ctx)
ctx - FaceletContext to usepublic MetaRuleset createMetaRuleset(Class type)
createMetaRuleset in class TagHandlerDelegatepublic void applyAttachedObject(FacesContext context, UIComponent parent)
applyAttachedObject in interface AttachedObjectHandlerpublic String getFor()
getFor in interface AttachedObjectHandlerCopyright © 2025 The Apache Software Foundation. All rights reserved.