i have an element inside an ajax4jsf outputPanel.
i discovered that the rendered="/testcode/" test is not re-evaluated on a re-Render trigger from an ajax button. it feels to me like a bug.
Code:
<a:outputPanel id="document_list_panel" ajaxRendered="true">
<h:outputText value="No documents to display"
rendered="#{hits.rowCount==0}"
/>
I've tried
<h:form> <a4j:outputPanel ajaxRendered="true"> <h:outputText value="Hello" rendered="#{bean.intprop==0}"></h:outputText> </a4j:outputPanel> <a4j:commandButton action="#{bean.setZero}" value="make rendered"></a4j:commandButton> </h:form>