A way to easily check if an element was rendered in jsf2
问题 I have a button that is supposed to close a modal panel and render several elements. Is there an easy way to check if an element was rendered after the button was pressed? example button: <a4j:commandButton onclick="#{rich:component('modal')}.hide();" style="background-repeat:no-repeat;width:18px;height:18px;" image="includes/images/close.gif" render=":id1 :id2"> <f:setPropertyActionListener target="#{Controller.attribute}" value="false" /> </a4j:commandButton> 回答1: I have another button that