Hello everybody, and sorry for my bad english.
Can someone explain me, in the following code, why when I click on display, HELLO2 is displayed and not HELLO1. (same thing for hide)
<h:form id="tmp1">
<a4j:commandLink
value="display"
actionListener="#{Test.need_display}"
reRender="tmp2,tmp3"
/>
<rich:spacer width="20"/>
<a4j:commandLink
value="hide"
actionListener="#{Test.need_hide}"
reRender="tmp2,tmp3"
/>
</h:form>
<h:form id="tmp2" rendered="#{Test.display}">
<h:outputText value="HELLO1" />
</h:form>
<h:panelGrid id="tmp3">
<h:outputText rendered="#{Test.display}" value="HELLO2"/>
</h:panelGrid>