@Deprecated public class SkipValidatorsTagHandler extends javax.faces.view.facelets.TagHandler
Constructor and Description |
---|
SkipValidatorsTagHandler(javax.faces.view.facelets.TagConfig config)
Deprecated.
The tag constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext context,
javax.faces.component.UIComponent parent)
Deprecated.
If the parent component is an instance of
UICommand or ClientBehaviorHolder , and is new, and we're
in the restore view phase of a postback, then delegate to the processSkipValidators method. |
protected void |
processSkipValidators(javax.faces.component.UIComponent parent)
Deprecated.
Check if the given component has been invoked during the current request and if so, then register the skip
validators event listener which removes the validators during
PreValidateEvent and restores them during
PostValidateEvent . |
public SkipValidatorsTagHandler(javax.faces.view.facelets.TagConfig config)
config
- The tag config.public void apply(javax.faces.view.facelets.FaceletContext context, javax.faces.component.UIComponent parent) throws IOException
UICommand
or ClientBehaviorHolder
, and is new, and we're
in the restore view phase of a postback, then delegate to the processSkipValidators method.IllegalStateException
- When the parent component is not an instance of UICommand
or
ClientBehaviorHolder
.IOException
protected void processSkipValidators(javax.faces.component.UIComponent parent)
PreValidateEvent
and restores them during
PostValidateEvent
.parent
- The parent component of this tag.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.