public class ValidatorTagHandlerDelegateImpl
extends javax.faces.view.facelets.TagHandlerDelegate
implements javax.faces.view.AttachedObjectHandler
| Modifier and Type | Field and Description |
|---|---|
protected javax.faces.view.facelets.ValidatorHandler |
owner |
| Constructor and Description |
|---|
ValidatorTagHandlerDelegateImpl(javax.faces.view.facelets.ValidatorHandler owner) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Called
by classes that implement
|
void |
applyAttachedObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent)
Take the argument
|
javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(Class type)
Return a |
protected ComponentValidators.ValidatorInfo |
createValidatorInfo(javax.faces.view.facelets.FaceletContext ctx) |
String |
getFor()
Return the value of the "for"
attribute specified by the page author on the tag for
this |
public ValidatorTagHandlerDelegateImpl(javax.faces.view.facelets.ValidatorHandler owner)
public void apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
throws IOException
javax.faces.view.facelets.TagHandlerDelegateCalled
by classes that implement
FaceletHandler in their
implementation of apply().
If the argument comp is new to the
view, for each tag attribute declared to be in the pass through attribute
namespace, set the name and value of the attribute into the pass through
attributes map of the component. See UIComponent.getPassThroughAttributes(boolean).
See the VDLDocs for the namespace URI of the pass through attribute
namespace. Attributes whose value is a ValueExpression
must remain un-evaluated and stored in the map as ValueExpression instances.
apply in class javax.faces.view.facelets.TagHandlerDelegatectx - the FaceletContext for this requestparent - the UIComponent that corresponds to this
element.IOException - if any files necessary to apply this tag handler
have any difficulty while loadingpublic javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class type)
javax.faces.view.facelets.TagHandlerDelegateReturn a MetaRuleset
particular to this kind of tag handler. Called from classes that
implement MetaTagHandler.
createMetaRuleset in class javax.faces.view.facelets.TagHandlerDelegatetype - the Class for which the
MetaRuleset must be created.MetaRuleset particular to this kind of tag handler.public void applyAttachedObject(javax.faces.context.FacesContext context,
javax.faces.component.UIComponent parent)
javax.faces.view.AttachedObjectHandlerTake the argument
parent and apply this attached object to it. The
action taken varies with class that implements one of the
subinterfaces of this interface.
applyAttachedObject in interface javax.faces.view.AttachedObjectHandlercontext - The FacesContext for this requestparent - The UIComponent to which this
particular attached object must be applied.public String getFor()
javax.faces.view.AttachedObjectHandlerReturn the value of the "for"
attribute specified by the page author on the tag for
this AttachedObjectHandler.
getFor in interface javax.faces.view.AttachedObjectHandlerprotected ComponentValidators.ValidatorInfo createValidatorInfo(javax.faces.view.facelets.FaceletContext ctx)
Copyright © 2010–2018 JBoss by Red Hat. All rights reserved.