public class ValidateMultipleHandler extends ComponentHandler
ValidateMultiple component, which will take care of setting the validator
attribute the right way as either ValueExpression or MethodExpression.delegateFactorynextHandler, tag, tagId| Constructor and Description |
|---|
ValidateMultipleHandler(ComponentConfig config)
Construct the tag handler for
ValidateMultiple component. |
| Modifier and Type | Method and Description |
|---|---|
void |
setAttributes(FaceletContext context,
Object component)
Delegate to super and then try to get a
ValueExpression representing a MultiFieldValidator
implementation and set it as validator property of current ValidateMultiple component, or
if it couldn't be obtained, then get a MethodExpression representing a method with the same signature
as MultiFieldValidator.validateValues(FacesContext, List, List) and set it as validateMethod
property of current ValidateMultiple component. |
getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated, onComponentPopulatedapply, applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabledgetAttribute, getRequiredAttribute, toStringpublic ValidateMultipleHandler(ComponentConfig config)
ValidateMultiple component.config - The component config.public void setAttributes(FaceletContext context, Object component)
ValueExpression representing a MultiFieldValidator
implementation and set it as validator property of current ValidateMultiple component, or
if it couldn't be obtained, then get a MethodExpression representing a method with the same signature
as MultiFieldValidator.validateValues(FacesContext, List, List) and set it as validateMethod
property of current ValidateMultiple component.setAttributes in class DelegatingMetaTagHandler