I have the following JSF page (it's kind of typed in pseudocode, to make it visible):
<table>
<tr>
<td><h:inputText id="field1" value="#{Bean.singleField.value}" required="true"/></td>
<td>
<ui:repeat value="#{Bean.listOfFields} var="field">
<h:inputText value="#{field.value}/>
</ui:repeat>
</td>
</tr>
</table>
If field1 is not filled in (so empty) and I submit the form, the form validates to false. That's perfect. But all values I've entered in the input boxes inside the ui:repeat tag will not be restored after a negative validation. All fields are empty again! The values do get restored, if I use "a4j:repeat". Is there something wrong with the ui:repeat tag?
Kind regards,
Jochen
ui:repeat
nested in anotherui:repeat
? – mrembiszui:repeat
andh:dataTable
but if there is no nesting I'd expect it to work fine. – mrembisz