Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

UIRepeat wrong state restored for UIInput #4390

Open
fanste opened this issue Dec 7, 2018 · 1 comment
Open

UIRepeat wrong state restored for UIInput #4390

fanste opened this issue Dec 7, 2018 · 1 comment

Comments

@fanste
Copy link

fanste commented Dec 7, 2018

Its the same issue as #4206 - it still exists in the mojarra 2.2.18 release. I currently cannot test the 2.3.x versions. I'm using the wildfly 10.1 application server.

This really simplified example without AJAX triggers the behavior.

<h:form>
    <ui:repeat value="#{[1,2,3,4]}" var="cls">
        <h:inputText required="true" />
    </ui:repeat>
    <h:commandButton value="test"  />
</h:form>
  • insert something into the last field
  • click the button, validation fails
  • click the button again, validation fails and value is visible in ALL fields
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants