ui:repeat bug in JSF 2.2

I found a strange behavior in JSF 2.2: When using the new jcp namespaces for ui:repeat it renders something like this:


To get rid of this I went back to the oldĀ java.sun.com/jsf urls in the whole project and everything was working as expected.

Here is how I was able to reproduce this with glassfish4:


<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    <ui:repeat value="#{sessionController.testString}" var="v">


public class SessionController implements Serializable {
    public List<String> getTestString() {
        return Arrays.asList(new String[] {"a", "b", "c"});

When I change the ui namespace to the old http://java.sun.com/jsf/facelets everything works as expected.

Leave a Comment