public class DynamicValidatorHandler
extends javax.faces.view.facelets.ValidatorHandler
Constructor and Description |
---|
DynamicValidatorHandler(javax.faces.view.facelets.ValidatorConfig validatorConfig)
Constructs this DynamicValidatorhandler from the supplied validatorConfig.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext faceletContext,
javax.faces.component.UIComponent parent)
.
|
void |
setAttributes(javax.faces.view.facelets.FaceletContext faceletContext,
Object validator)
Sets the attributes on the supplied validator.
|
getTagHandlerDelegate, getValidatorConfig, getValidatorId
applyAttachedObject, getAttachedObjectHandlerHelper, getFor
applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled
getAttribute, getRequiredAttribute, toString
public DynamicValidatorHandler(javax.faces.view.facelets.ValidatorConfig validatorConfig)
validatorConfig
- The validator configuration object.public void apply(javax.faces.view.facelets.FaceletContext faceletContext, javax.faces.component.UIComponent parent) throws IOException
setAttributes(FaceletContext, Object)
.apply
in interface javax.faces.view.facelets.FaceletHandler
apply
in class javax.faces.view.facelets.DelegatingMetaTagHandler
IOException
public void setAttributes(javax.faces.view.facelets.FaceletContext faceletContext, Object validator)
setAttributes
in class javax.faces.view.facelets.DelegatingMetaTagHandler
faceletContext
- The FaceletContext.validator
- The validator.Copyright © 2008–2018. All rights reserved.