INMO
You have to add a wrapper to C and D and make it like this
<h:panelGroup id="CD"> <h:inputText id="C" value="C" ></h:inputText> <h:inputText id="D" value="D" ></h:inputText> </h:panelGroup> <a4j:commandButton id="button" value="click me" render="CD" />
Or just specify your identifiers directly in the render attribute, e.g.
<a4j:commandButton id="button" value="click me" render="CD" />
source share