[richfaces-planning-issues] [JBoss JIRA] (RFPL-3506) File an upstream issue for the Mojarra uiRepeat#setIndex issue
Brian Leathem (JIRA)
issues at jboss.org
Mon Sep 15 17:14:02 EDT 2014
[ https://issues.jboss.org/browse/RFPL-3506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brian Leathem updated RFPL-3506:
--------------------------------
Component/s: third-party
> File an upstream issue for the Mojarra uiRepeat#setIndex issue
> --------------------------------------------------------------
>
> Key: RFPL-3506
> URL: https://issues.jboss.org/browse/RFPL-3506
> Project: RichFaces Planning
> Issue Type: Task
> Components: third-party
> Reporter: Brian Leathem
> Fix For: 4.5.0.CR1
>
>
> I reverted the change introduced by [JAVASERVERFACES-3152|https://java.net/jira/browse/JAVASERVERFACES-3152] and rebuilt mojarra 2.2.6. Replacing the jsf-impl jar with this new one in WildFly 8.1 resolved the problem, so I can confirm this issue is caused by [JAVASERVERFACES-3152|https://java.net/jira/browse/JAVASERVERFACES-3152].
> The relevant change in [JAVASERVERFACES-3152|https://java.net/jira/browse/JAVASERVERFACES-3152] is:
> {code}
> ----------------------------
> Index: jsf-ri/src/main/java/com/sun/faces/facelets/component/UIRepeat.java
> ===================================================================
> --- jsf-ri/src/main/java/com/sun/faces/facelets/component/UIRepeat.java (revision 12814)
> +++ jsf-ri/src/main/java/com/sun/faces/facelets/component/UIRepeat.java (working copy)
> @@ -787,7 +787,9 @@
> // Just need to check whether there are any ids under this
> // subtree. Make sure row index is cleared out since
> // getSubtreeIdsToVisit() needs our row-less client id.
> - setIndex(context.getFacesContext(), -1);
> + if (requiresRowIteration(context)) {
> + setIndex(context.getFacesContext(), -1);
> + }
> Collection<String> idsToVisit = context.getSubtreeIdsToVisit(this);
> assert(idsToVisit != null);
> {code}
> and it's meant to address:
> {quote}
> {{<ui:repeat>}}'s value attribute gets evaluated during each and every ajax call, even when {{<ui:repeat>}} is outside the render area
> {quote}
> A number of RF components are broken with this bug, they are labelled with the {{uiRepeat:setIndex}} tag:
> https://issues.jboss.org/browse/RF-13801?jql=labels%20%3D%20%22uiRepeat%23setIndex%22
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the richfaces-planning-issues
mailing list