com.sun.facelets.tag.jsf.core
Class ConvertDelegateHandler

java.lang.Object
  extended by com.sun.facelets.tag.TagHandler
      extended by com.sun.facelets.tag.MetaTagHandler
          extended by com.sun.facelets.tag.jsf.ConvertHandler
              extended by 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

Field Summary
 
Fields inherited from class com.sun.facelets.tag.TagHandler
nextHandler, tag, tagId
 
Constructor Summary
ConvertDelegateHandler(ConverterConfig config)
           
 
Method Summary
protected  Converter createConverter(FaceletContext ctx)
          Uses the specified "converterId" to pull an instance from the Application
protected  MetaRuleset createMetaRuleset(Class type)
          Extend this method in order to add your own rules.
 
Methods inherited from class com.sun.facelets.tag.jsf.ConvertHandler
apply
 
Methods inherited from class com.sun.facelets.tag.MetaTagHandler
setAttributes
 
Methods inherited from class com.sun.facelets.tag.TagHandler
findNextByType, getAttribute, getRequiredAttribute, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConvertDelegateHandler

public ConvertDelegateHandler(ConverterConfig config)
Parameters:
config -
Method Detail

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.