Details
Description
<h:form id="form1">
<f:ajax render="@form">
<h:commandButton id="button" value="Click me 1!"/>
</f:ajax>
</h:form>
<h:form id="form2">
<h:commandButton id="button" value="Click me 2!" >
<f:ajax render="@form"/>
</h:commandButton>
</h:form>
If you click "Click me 1" than button disappers because it is no rendered in ajax XML output.
The second button with inner f:ajax work as expected.