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. |
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 |
generateWidgetId(FaceletHandlerHelper helper,
Widget widget,
boolean recursive) |
static void |
generateWidgetIdsRecursive(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(FaceletHandlerHelper helper, Widget widget)
public static void generateWidgetId(FaceletHandlerHelper helper, Widget widget, boolean recursive)
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
protected javax.faces.view.facelets.MetaRuleset createMetaRuleset(Class type)
createMetaRuleset
in class javax.faces.view.facelets.MetaTagHandler
Copyright © 2015 Nuxeo SA. All rights reserved.