Class ConvertDelegateHandler
- java.lang.Object
-
- jakarta.faces.view.facelets.TagHandler
-
- jakarta.faces.view.facelets.MetaTagHandler
-
- jakarta.faces.view.facelets.DelegatingMetaTagHandler
-
- jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
-
- jakarta.faces.view.facelets.ConverterHandler
-
- com.sun.faces.facelets.tag.faces.core.ConvertDelegateHandler
-
- All Implemented Interfaces:
AttachedObjectHandler,FaceletHandler,ValueHolderAttachedObjectHandler
public final class ConvertDelegateHandler extends ConverterHandler
Register a named Converter instance on the UIComponent associated with the closest parent UIComponent custom action. See tag documentation.- Author:
- Jacob Hookom
-
-
Field Summary
-
Fields inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
delegateFactory
-
Fields inherited from class jakarta.faces.view.facelets.TagHandler
nextHandler, tag, tagId
-
-
Constructor Summary
Constructors Constructor Description ConvertDelegateHandler(ConverterConfig config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ConvertercreateConverter(FaceletContext ctx)Uses the specified "converterId" to pull an instance from the Applicationprotected MetaRulesetcreateMetaRuleset(Class type)The default implementation simply calls through toTagHandlerDelegate.createMetaRuleset(java.lang.Class)and returns the result.-
Methods inherited from class jakarta.faces.view.facelets.ConverterHandler
getConverterId, getTagHandlerDelegate
-
Methods inherited from class jakarta.faces.view.facelets.FaceletsAttachedObjectHandler
applyAttachedObject, getAttachedObjectHandlerHelper, getFor
-
Methods inherited from class jakarta.faces.view.facelets.DelegatingMetaTagHandler
apply, applyNextHandler, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
-
Methods inherited from class jakarta.faces.view.facelets.TagHandler
getAttribute, getRequiredAttribute, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface jakarta.faces.view.AttachedObjectHandler
applyAttachedObject, getFor
-
-
-
-
Constructor Detail
-
ConvertDelegateHandler
public ConvertDelegateHandler(ConverterConfig config)
- Parameters:
config-
-
-
Method Detail
-
createConverter
protected Converter createConverter(FaceletContext ctx) throws FacesException, jakarta.el.ELException, FaceletException
Uses the specified "converterId" to pull an instance from the Application- Throws:
FacesExceptionjakarta.el.ELExceptionFaceletException- See Also:
Application.createComponent(java.lang.String)
-
createMetaRuleset
protected MetaRuleset createMetaRuleset(Class type)
Description copied from class:DelegatingMetaTagHandlerThe default implementation simply calls through to
TagHandlerDelegate.createMetaRuleset(java.lang.Class)and returns the result.- Overrides:
createMetaRulesetin classDelegatingMetaTagHandler- Parameters:
type- theClassfor which theMetaRulesetmust be created.- Returns:
- the
MetaRuleset.
-
-