This is a bug in state saving of <ui:repeat>
in Mojarra. There are several similar issue reports at http://java.net/jira/browse/JAVASERVERFACES, among others issue 2243.
You have basically 2 options: use another iterating component (e.g. <c:forEach>
, <h:dataTable>
, <t:dataList>
, <p:dataList>
, etc), or replace Mojarra by MyFaces (the <ui:repeat>
in this construct works properly in there).