public class WidgetTagHandler
extends javax.faces.view.facelets.MetaTagHandler
Applies WidgetTypeHandler
found for given widget, in given mode and for given value.
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) |
static void |
generateWidgetId(FaceletHandlerHelper helper,
Widget widget,
boolean recursive) |
static void |
generateWidgetIdsRecursive(FaceletHandlerHelper helper,
Widget widget) |
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
Copyright © 2015 Nuxeo SA. All rights reserved.