@Deprecated public class ValidateHandler extends MetaTagHandlerImpl
Will only set/create Validator is the passed UIComponent's parent is null, signifying that it wasn't restored from an existing tree.
nextHandler, tag, tagId| Constructor and Description |
|---|
ValidateHandler(TagConfig config)
Deprecated.
|
ValidateHandler(ValidatorConfig config)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
apply(FaceletContext ctx,
UIComponent parent)
Deprecated.
See jakarta.faces.view.facelets.FaceletHandler#apply(
jakarta.faces.view.facelets.FaceletContext, jakarta.faces.component.UIComponent)
|
protected MetaRuleset |
createMetaRuleset(Class type)
Deprecated.
Extend this method in order to add your own rules.
|
protected Validator |
createValidator(FaceletContext ctx)
Deprecated.
Template method for creating a Validator instance
|
setAttributesgetAttribute, getRequiredAttribute, toStringpublic ValidateHandler(TagConfig config)
config - public ValidateHandler(ValidatorConfig config)
public final void apply(FaceletContext ctx, UIComponent parent) throws IOException, FacesException, FaceletException, jakarta.el.ELException
IOExceptionFacesExceptionFaceletExceptionjakarta.el.ELExceptionprotected Validator createValidator(FaceletContext ctx)
ctx - FaceletContext to useprotected MetaRuleset createMetaRuleset(Class type)
MetaTagHandlerImplcreateMetaRuleset in class MetaTagHandlerImplCopyright © 2022 The Apache Software Foundation. All rights reserved.