public class WidgetTagHandler extends javax.faces.view.facelets.MetaTagHandler
Applies WidgetTypeHandler
found for given widget, in given mode and for given value.
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagAttribute |
category |
protected javax.faces.view.facelets.TagConfig |
config |
protected javax.faces.view.facelets.TagAttribute |
definition |
protected javax.faces.view.facelets.TagAttribute |
layoutName |
protected javax.faces.view.facelets.TagAttribute |
mode |
protected javax.faces.view.facelets.TagAttribute |
name |
protected String[] |
reservedVarsArray |
protected javax.faces.view.facelets.TagAttribute |
resolveOnly |
protected javax.faces.view.facelets.TagAttribute |
value |
protected javax.faces.view.facelets.TagAttribute[] |
vars |
protected javax.faces.view.facelets.TagAttribute |
widget |
Constructor and Description |
---|
WidgetTagHandler(javax.faces.view.facelets.TagConfig config) |
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent)
Renders given widget resolving its
FaceletHandler from WebLayoutManager configuration. |
protected void |
applyCompat(javax.faces.view.facelets.FaceletContext ctx,
javax.el.VariableMapper orig,
Widget widgetInstance,
boolean widgetInstanceBuilt) |
protected void |
applyOptimized(javax.faces.view.facelets.FaceletContext ctx,
javax.el.VariableMapper orig,
Widget widgetInstance,
boolean widgetInstanceBuilt) |
static void |
applyWidgetHandler(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
javax.faces.view.facelets.TagConfig config,
Widget widget,
javax.faces.view.facelets.TagAttribute value,
boolean fillVariables,
javax.faces.view.facelets.FaceletHandler nextHandler) |
protected javax.faces.view.facelets.MetaRuleset |
createMetaRuleset(Class type) |
static void |
exposeWidgetVariables(javax.faces.view.facelets.FaceletContext ctx,
BlockingVariableMapper vm,
Widget widget,
Integer widgetIndex,
boolean exposeLevel) |
static void |
generateWidgetId(javax.faces.view.facelets.FaceletContext ctx,
FaceletHandlerHelper helper,
Widget widget,
boolean recursive) |
static void |
generateWidgetIdsRecursive(javax.faces.view.facelets.FaceletContext ctx,
FaceletHandlerHelper helper,
Widget widget) |
protected final javax.faces.view.facelets.TagConfig config
protected final javax.faces.view.facelets.TagAttribute widget
protected final javax.faces.view.facelets.TagAttribute name
protected final javax.faces.view.facelets.TagAttribute category
protected final javax.faces.view.facelets.TagAttribute definition
protected final javax.faces.view.facelets.TagAttribute mode
protected final javax.faces.view.facelets.TagAttribute layoutName
protected final javax.faces.view.facelets.TagAttribute resolveOnly
protected final javax.faces.view.facelets.TagAttribute value
protected final javax.faces.view.facelets.TagAttribute[] vars
protected final String[] reservedVarsArray
public WidgetTagHandler(javax.faces.view.facelets.TagConfig config)
public void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.faces.FacesException, javax.el.ELException
FaceletHandler
from WebLayoutManager
configuration.
Variables exposed: RenderVariables.globalVariables.value
, same variable suffixed with "_n" where n is the
widget level, and RenderVariables.globalVariables.document
.
IOException
javax.faces.FacesException
javax.el.ELException
public static void generateWidgetIdsRecursive(javax.faces.view.facelets.FaceletContext ctx, FaceletHandlerHelper helper, Widget widget)
public static void generateWidgetId(javax.faces.view.facelets.FaceletContext ctx, FaceletHandlerHelper helper, Widget widget, boolean recursive)
protected void applyOptimized(javax.faces.view.facelets.FaceletContext ctx, javax.el.VariableMapper orig, Widget widgetInstance, boolean widgetInstanceBuilt)
protected void applyCompat(javax.faces.view.facelets.FaceletContext ctx, javax.el.VariableMapper orig, Widget widgetInstance, boolean widgetInstanceBuilt)
public static void applyWidgetHandler(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, javax.faces.view.facelets.TagConfig config, Widget widget, javax.faces.view.facelets.TagAttribute value, boolean fillVariables, javax.faces.view.facelets.FaceletHandler nextHandler) throws IOException
IOException
public static void exposeWidgetVariables(javax.faces.view.facelets.FaceletContext ctx, BlockingVariableMapper vm, Widget widget, Integer widgetIndex, boolean exposeLevel)
protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class javax.faces.view.facelets.MetaTagHandler
Copyright © 2018 Nuxeo. All rights reserved.