public class RepeatTagHandler
extends javax.faces.view.facelets.TagHandler
This component encapsulates a c:forEach tag inside a nxu:set tag, to be able to control when the sub-components should be re-created in the case of an ajax re-render.
Constructor and Description |
---|
RepeatTagHandler(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)
Encapsulate the call to a c:forEach tag in an SetTagHandler exposing the value and making sure the tagConfigId
changes when the value changes (see NXP-11434).
|
public RepeatTagHandler(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.faces.view.facelets.FaceletException, javax.el.ELException
See also NXP-15050: since 6.0, anchor handler in component tree to ensure proper ajax refresh when iteration value changes.
IOException
javax.faces.FacesException
javax.faces.view.facelets.FaceletException
javax.el.ELException
Copyright © 2015 Nuxeo SA. All rights reserved.