com.sun.facelets.tag.jsf.core
Class ValidateDelegateHandler
java.lang.Object
com.sun.facelets.tag.TagHandler
com.sun.facelets.tag.MetaTagHandler
com.sun.facelets.tag.jsf.ValidateHandler
com.sun.facelets.tag.jsf.core.ValidateDelegateHandler
- All Implemented Interfaces:
- FaceletHandler
public final class ValidateDelegateHandler
- extends ValidateHandler
Register a named Validator instance on the UIComponent associated with the
closest parent UIComponent custom action.
See tag
documentation.
- Version:
- $Id: ValidateDelegateHandler.java,v 1.3 2005/08/24 04:38:50 jhook Exp $
- Author:
- Jacob Hookom
ValidateDelegateHandler
public ValidateDelegateHandler(ValidatorConfig config)
createValidator
protected Validator createValidator(FaceletContext ctx)
- Uses the specified "validatorId" to get a new Validator instance from the
Application.
- Overrides:
createValidator
in class ValidateHandler
- Parameters:
ctx
- FaceletContext to use
- Returns:
- a new Validator instance
- See Also:
Application.createValidator(java.lang.String)
,
ValidateHandler.createValidator(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 ValidateHandler
- Returns:
Copyright © 2005 All Rights Reserved.