Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.2.12, 2.3.6
-
None
-
None
-
None
Description
There appears to be a problem with c:forEach when client side state saving is enabled - component states are not restored correctly after a submit. For example, the text entered into this inputText is lost:
<c:forEach var="current" items="#{list.items}">
<h:inputText value="#{current.value}"/>
<h:commandButton value="submit"/>
</c:forEach>
This example works (the inputText is not lost) with server side state saving enabled, and it also works on Mojarra with client side state saving. I haven't figured out what exactly is causing this behavior yet - if anyone else has insight in this area I'd appreciate hints.