When changing fields h: inputText id = "input" happening rerender field h: inputText id = "emailE". In doing so, after pressing the button when an unsuccessful procedure validation, changing field h: inputText id = "input" does not affect h: inputText id = "emailE".
What could be the reason?
My code:
<f:view>
<f:loadBundle basename="locale" var="lang"/>
<a4j:status id="globalStatus" for="usersRegion" startText="#{lang.status_start}" stopText="#{lang.status_stop}" />
<a4j:outputPanel ajaxRendered="true">
<h:messages />
</a4j:outputPanel>
<h:form id="UsersForm">
<a4j:region id="usersRegion">
<h:inputText id="input" value="#{usersBean.email}">
<a4j:support event="onkeyup" reRender="panel" />
</h:inputText>
</a4j:region>
</h:form>
<h:panelGroup id="panel">
<h:form id="panelModal">
<h:inputText id="emailE" value="#{usersBean.email}" required="true"><f:validateLength minimum="5" maximum="10" /></h:inputText>
<a4j:commandButton id="buttonOk" actionListener="#{usersBean.onOkFormEditUser}" value="Ok" />
</h:form>
</h:panelGroup>
</f:view>