org.apache.myfaces.view.facelets.tag.jsf.core
Class ValidateDelegateHandler
java.lang.Object
javax.faces.view.facelets.TagHandler
javax.faces.view.facelets.MetaTagHandler
javax.faces.view.facelets.DelegatingMetaTagHandler
javax.faces.view.facelets.FaceletsAttachedObjectHandler
javax.faces.view.facelets.ValidatorHandler
org.apache.myfaces.view.facelets.tag.jsf.core.ValidateDelegateHandler
- All Implemented Interfaces:
- AttachedObjectHandler, EditableValueHolderAttachedObjectHandler, FaceletHandler, ValueHolderAttachedObjectHandler
@JSFFaceletTag(name="f:validator",
bodyContent="empty",
tagClass="org.apache.myfaces.taglib.core.ValidatorImplTag")
@JSFFaceletAttribute(name="disabled",
deferredValueType="java.lang.Boolean",
desc="no description",
longDescription="no description")
public final class ValidateDelegateHandler
- extends ValidatorHandler
Register a named Validator instance on the UIComponent associated with the closest parent UIComponent custom
action.
See tag documentation.
- Version:
- $Id: ValidateDelegateHandler.java 1187701 2011-10-22 12:21:54Z bommel $
- 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.
- See Also:
Application.createValidator(java.lang.String)
,
javax.faces.view.facelets.ValidatorHandler#createValidator(javax.faces.view.facelets.FaceletContext)
createMetaRuleset
protected MetaRuleset createMetaRuleset(Class type)
- Overrides:
createMetaRuleset
in class DelegatingMetaTagHandler
getValidatorId
public String getValidatorId(FaceletContext ctx)
- Overrides:
getValidatorId
in class ValidatorHandler
Copyright © 2015 The Apache Software Foundation. All rights reserved.