com.sun.facelets.tag.jsf.core
Class ConvertDelegateHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
com.sun.facelets.tag.MetaTagHandler
com.sun.facelets.tag.jsf.ConvertHandler
com.sun.facelets.tag.jsf.core.ConvertDelegateHandler
- All Implemented Interfaces:
- FaceletHandler
public final class ConvertDelegateHandler
- extends ConvertHandler
Register a named Converter instance on the UIComponent associated with the
closest parent UIComponent custom action.
See tag
documentation.
- Version:
- $Id: ConvertDelegateHandler.java,v 1.3 2005/08/24 04:38:49 jhook Exp $
- Author:
- Jacob Hookom
ConvertDelegateHandler
public ConvertDelegateHandler(ConverterConfig config)
- Parameters:
config
-
createConverter
protected Converter createConverter(FaceletContext ctx)
throws FacesException,
javax.el.ELException,
FaceletException
- Uses the specified "converterId" to pull an instance from the Application
- Overrides:
createConverter
in class ConvertHandler
- Parameters:
ctx
- FaceletContext to use
- Returns:
- Converter instance, cannot be null
- Throws:
FacesException
javax.el.ELException
FaceletException
- See Also:
Application.createComponent(java.lang.String)
,
com.sun.facelets.tag.jsf.ConverterHandler#createConverter(com.sun.facelets.FaceletContext)
createMetaRuleset
protected MetaRuleset createMetaRuleset(Class type)
- Description copied from class:
MetaTagHandler
- Extend this method in order to add your own rules.
- Overrides:
createMetaRuleset
in class ConvertHandler
- Returns:
Copyright © 2005 All Rights Reserved.