public class AliasTagHandler extends javax.faces.view.facelets.ComponentHandler
The backing component value expressions are changed even if the component was found to ensure a good resolution even when re-rendering the tag using ajax.
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagAttribute |
anchor |
static String |
ANCHOR_ENABLED_VARIABLE |
protected List<String> |
blockedPatterns |
protected javax.faces.view.facelets.TagAttribute |
cache |
protected javax.faces.view.facelets.TagAttribute |
id |
protected Map<String,javax.el.ValueExpression> |
variables |
Constructor and Description |
---|
AliasTagHandler(javax.faces.view.facelets.ComponentConfig config,
Map<String,javax.el.ValueExpression> variables) |
AliasTagHandler(javax.faces.view.facelets.ComponentConfig config,
Map<String,javax.el.ValueExpression> variables,
List<String> blockedPatterns) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent) |
protected void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
AliasVariableMapper alias,
javax.faces.view.facelets.FaceletHandler nextHandler) |
protected void |
applyAliasHandler(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
AliasVariableMapper alias,
javax.faces.view.facelets.FaceletHandler nextHandler,
boolean createComponent) |
protected void |
applyCompat(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
AliasVariableMapper alias,
javax.faces.view.facelets.FaceletHandler nextHandler)
Compatibility application of facelet handler, used to preserve behaviour while optimizing and improving variables
exposure and resolution.
|
protected boolean |
isAnchored(javax.faces.view.facelets.FaceletContext ctx) |
createComponent, getComponentConfig, getTagHandlerDelegate, isNew, onComponentCreated, onComponentPopulated
applyNextHandler, createMetaRuleset, getBinding, getTag, getTagAttribute, getTagId, isDisabled, setAttributes
public static String ANCHOR_ENABLED_VARIABLE
protected final javax.faces.view.facelets.TagAttribute cache
protected final javax.faces.view.facelets.TagAttribute id
protected final List<String> blockedPatterns
protected final javax.faces.view.facelets.TagAttribute anchor
public AliasTagHandler(javax.faces.view.facelets.ComponentConfig config, Map<String,javax.el.ValueExpression> variables)
public AliasTagHandler(javax.faces.view.facelets.ComponentConfig config, Map<String,javax.el.ValueExpression> variables, List<String> blockedPatterns)
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.ELException
apply
in interface javax.faces.view.facelets.FaceletHandler
apply
in class javax.faces.view.facelets.DelegatingMetaTagHandler
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
protected void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, AliasVariableMapper alias, javax.faces.view.facelets.FaceletHandler nextHandler) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.ELException
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
protected boolean isAnchored(javax.faces.view.facelets.FaceletContext ctx)
protected void applyAliasHandler(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, AliasVariableMapper alias, javax.faces.view.facelets.FaceletHandler nextHandler, boolean createComponent) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.ELException
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
protected void applyCompat(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, AliasVariableMapper alias, javax.faces.view.facelets.FaceletHandler nextHandler) throws IOException, javax.faces.FacesException, javax.faces.view.facelets.FaceletException, javax.el.ELException
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
Copyright © 2015 Nuxeo SA. All rights reserved.