@Deprecated public class ConvertHandler extends MetaTagHandlerImpl
Will only set/create Converter is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing tree.
See javax.faces.webapp.ConverterELTag See javax.faces.convert.Converter See javax.faces.component.ValueHoldernextHandler, tag, tagId
Constructor and Description |
---|
ConvertHandler(ConverterConfig config)
Deprecated.
|
ConvertHandler(TagConfig config)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Deprecated.
Set Converter instance on parent ValueHolder if it's not being restored.
|
protected Converter |
createConverter(FaceletContext ctx)
Deprecated.
Create a Converter instance
|
protected MetaRuleset |
createMetaRuleset(Class type)
Deprecated.
Extend this method in order to add your own rules.
|
setAttributes
getAttribute, getRequiredAttribute, toString
public ConvertHandler(TagConfig config)
config
- public ConvertHandler(ConverterConfig config)
public final void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, javax.el.ELException
createConverter
.MetaTagHandler.setAttributes(javax.faces.view.facelets.FaceletContext, java.lang.Object)
on Converter instance.IOException
FacesException
FaceletException
javax.el.ELException
protected Converter createConverter(FaceletContext ctx)
ctx
- FaceletContext to useprotected MetaRuleset createMetaRuleset(Class type)
MetaTagHandlerImpl
createMetaRuleset
in class MetaTagHandlerImpl
Copyright © 2020 The Apache Software Foundation. All rights reserved.