Hello,
in the source below, when I click on the second Link "Test" the action "userProfileAction.saveMetaData" is not executed. It seems that cklicking on that link has now effect at all.
The logic is as folow:
- click on checkbox
- click in "Result"
- this reRenders the "out" outputpanel, now with an additional outputpanel and with a new link "Test".
- clicking on the new link "Test" does not work.
Andy Ideas?
Thanks!
Andreas
<a4j:form>
<h:selectBooleanCheckbox id="remember" value="#{TestBean.value}" />
<a4j:commandLink value="Result" reRender="out" />
</a4j:form>
<h:panelGroup id="out">
<h:panelGroup rendered="#{TestBean.value}">
#{TestBean.value}
<a4j:form >
<a4j:commandLink action="#{userProfileAction.saveMetaData()}"
reRender="out">Test</a4j:commandLink>
</a4j:form>
</h:panelGroup>
</h:panelGroup>
seems your TestBean request scoped.
this described here : http://livedemo.exadel.com/richfaces-demo/richfaces/keepAlive.jsf