public class WidgetTypeTagHandler extends javax.faces.view.facelets.TagHandler
Applies a WidgetTypeHandler
resolved from a widget created for given type name and mode, and uses other tag
attributes to fill the widget properties.
Does not handle sub widgets.
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 |
field |
protected javax.faces.view.facelets.TagAttribute |
fields |
protected javax.faces.view.facelets.TagAttribute |
helpLabel |
protected javax.faces.view.facelets.TagAttribute |
ignoreTemplateProperty
Convenient attribute to remove the "template" property from widget properties (and avoid stack overflow errors
when using another widget type in a widget template, for compatibility code for instance).
|
protected javax.faces.view.facelets.TagAttribute |
label |
protected javax.faces.view.facelets.TagAttribute |
mode |
protected javax.faces.view.facelets.TagAttribute |
name |
protected javax.faces.view.facelets.TagAttribute |
properties |
protected String[] |
reservedVarsArray |
protected javax.faces.view.facelets.TagAttribute |
resolveOnly |
protected javax.faces.view.facelets.TagAttribute |
subWidgets |
protected javax.faces.view.facelets.TagAttribute |
translated |
protected javax.faces.view.facelets.TagAttribute |
value |
protected javax.faces.view.facelets.TagAttribute[] |
vars |
protected javax.faces.view.facelets.TagAttribute |
widgetName |
Constructor and Description |
---|
WidgetTypeTagHandler(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) |
protected void |
applyCompat(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
Widget widget) |
protected void |
applyOptimized(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
Widget widget) |
protected final javax.faces.view.facelets.TagConfig config
protected final javax.faces.view.facelets.TagAttribute name
protected final javax.faces.view.facelets.TagAttribute category
protected final javax.faces.view.facelets.TagAttribute mode
protected final javax.faces.view.facelets.TagAttribute value
protected final javax.faces.view.facelets.TagAttribute field
protected final javax.faces.view.facelets.TagAttribute fields
protected final javax.faces.view.facelets.TagAttribute label
protected final javax.faces.view.facelets.TagAttribute helpLabel
protected final javax.faces.view.facelets.TagAttribute translated
protected final javax.faces.view.facelets.TagAttribute properties
protected final javax.faces.view.facelets.TagAttribute widgetName
protected final javax.faces.view.facelets.TagAttribute ignoreTemplateProperty
protected final javax.faces.view.facelets.TagAttribute subWidgets
protected final javax.faces.view.facelets.TagAttribute resolveOnly
protected final javax.faces.view.facelets.TagAttribute[] vars
protected final String[] reservedVarsArray
public WidgetTypeTagHandler(javax.faces.view.facelets.TagConfig config)
public final void apply(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent) throws IOException, javax.el.ELException
IOException
javax.el.ELException
protected void applyOptimized(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, Widget widget) throws IOException, javax.el.ELException
IOException
javax.el.ELException
protected void applyCompat(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, Widget widget) throws IOException, javax.el.ELException
IOException
javax.el.ELException
Copyright © 2018 Nuxeo. All rights reserved.