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:
- javax.faces.view.AttachedObjectHandler, javax.faces.view.EditableValueHolderAttachedObjectHandler, javax.faces.view.facelets.FaceletHandler, javax.faces.view.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 javax.faces.view.facelets.ValidatorHandler
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.4 2008/07/13 19:01:44 rlubke Exp $
- Author:
- Jacob Hookom
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler |
delegateFactory |
Fields inherited from class javax.faces.view.facelets.TagHandler |
nextHandler, tag, tagId |
Method Summary |
protected javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(java.lang.Class type)
|
protected javax.faces.validator.Validator |
createValidator(javax.faces.view.facelets.FaceletContext ctx)
Uses the specified "validatorId" to get a new Validator instance from the Application. |
java.lang.String |
getValidatorId(javax.faces.view.facelets.FaceletContext ctx)
|
Methods inherited from class javax.faces.view.facelets.ValidatorHandler |
getTagHandlerDelegate, getValidatorConfig |
Methods inherited from class javax.faces.view.facelets.FaceletsAttachedObjectHandler |
applyAttachedObject, getAttachedObjectHandlerHelper, getFor |
Methods inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler |
apply, applyNextHandler, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes |
Methods inherited from class javax.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 javax.faces.view.AttachedObjectHandler |
applyAttachedObject, getFor |
ValidateDelegateHandler
public ValidateDelegateHandler(javax.faces.view.facelets.ValidatorConfig config)
createValidator
protected javax.faces.validator.Validator createValidator(javax.faces.view.facelets.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 javax.faces.view.facelets.MetaRuleset createMetaRuleset(java.lang.Class type)
- Overrides:
createMetaRuleset
in class javax.faces.view.facelets.DelegatingMetaTagHandler
getValidatorId
public java.lang.String getValidatorId(javax.faces.view.facelets.FaceletContext ctx)
- Overrides:
getValidatorId
in class javax.faces.view.facelets.ValidatorHandler
Copyright © 2011 The Apache Software Foundation. All Rights Reserved.