public class LayoutRowTagHandler extends javax.faces.view.facelets.TagHandler
Iterate over the layout rows and apply next handlers as many times as needed.
Only works when used inside a tag using the LayoutTagHandler
template client.
Modifier and Type | Field and Description |
---|---|
protected javax.faces.view.facelets.TagConfig |
config |
Constructor and Description |
---|
LayoutRowTagHandler(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)
For each row in layout, exposes row variables and applies next handler.
|
protected void |
applyCompat(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
FaceletHandlerHelper helper) |
protected void |
applyOptimized(javax.faces.view.facelets.FaceletContext ctx,
javax.faces.component.UIComponent parent,
FaceletHandlerHelper helper) |
protected String |
getIndexName() |
protected String |
getInstanceName() |
protected final javax.faces.view.facelets.TagConfig config
public LayoutRowTagHandler(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
Needs layout to be exposed in context, so works in conjunction with LayoutTagHandler
.
Row variables exposed: RenderVariables.rowVariables.layoutRow
and
RenderVariables.rowVariables.layoutRowIndex
, as well as
RenderVariables.columnVariables.layoutColumn
and
RenderVariables.columnVariables.layoutColumnIndex
, that act are aliases.
IOException
javax.faces.FacesException
javax.el.ELException
protected void applyOptimized(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, FaceletHandlerHelper helper) throws IOException, javax.faces.FacesException, javax.el.ELException
IOException
javax.faces.FacesException
javax.el.ELException
protected void applyCompat(javax.faces.view.facelets.FaceletContext ctx, javax.faces.component.UIComponent parent, FaceletHandlerHelper helper) throws IOException, javax.faces.FacesException, javax.el.ELException
IOException
javax.faces.FacesException
javax.el.ELException
protected String getInstanceName()
protected String getIndexName()
Copyright © 2018 Nuxeo. All rights reserved.