|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.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
@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
Register a named Validator instance on the UIComponent associated with the closest parent UIComponent custom action.
See tag documentation.
Field Summary |
---|
Fields inherited from class javax.faces.view.facelets.DelegatingMetaTagHandler |
---|
delegateFactory |
Fields inherited from class javax.faces.view.facelets.TagHandler |
---|
nextHandler, tag, tagId |
Constructor Summary | |
---|---|
ValidateDelegateHandler(ValidatorConfig config)
|
Method Summary | |
---|---|
protected MetaRuleset |
createMetaRuleset(java.lang.Class type)
|
protected Validator |
createValidator(FaceletContext ctx)
Uses the specified "validatorId" to get a new Validator instance from the Application. |
java.lang.String |
getValidatorId(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 |
Constructor Detail |
---|
public ValidateDelegateHandler(ValidatorConfig config)
Method Detail |
---|
protected Validator createValidator(FaceletContext ctx)
Application.createValidator(java.lang.String)
,
javax.faces.view.facelets.ValidatorHandler#createValidator(javax.faces.view.facelets.FaceletContext)
protected MetaRuleset createMetaRuleset(java.lang.Class type)
createMetaRuleset
in class DelegatingMetaTagHandler
public java.lang.String getValidatorId(FaceletContext ctx)
getValidatorId
in class ValidatorHandler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |