javax.faces.view.facelets
Class ValidatorHandler
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
- All Implemented Interfaces:
- AttachedObjectHandler, EditableValueHolderAttachedObjectHandler, FaceletHandler, ValueHolderAttachedObjectHandler
@JSFFaceletTag
public class ValidatorHandler
- extends FaceletsAttachedObjectHandler
- implements EditableValueHolderAttachedObjectHandler
Handles setting a Validator instance on a EditableValueHolder. Will wire all attributes set to the Validator instance
created/fetched. Uses the "binding" attribute for grabbing instances to apply attributes to.
Will only
set/create Validator is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing
tree.
ValidatorHandler
public ValidatorHandler(ValidatorConfig config)
getValidatorConfig
public ValidatorConfig getValidatorConfig()
getValidatorId
public String getValidatorId(FaceletContext ctx)
getTagHandlerDelegate
protected TagHandlerDelegate getTagHandlerDelegate()
- Specified by:
getTagHandlerDelegate
in class DelegatingMetaTagHandler
Copyright © 2014 The Apache Software Foundation. All rights reserved.