1 Reply Latest reply on Jun 19, 2007 9:28 AM by ilya_shaikovsky

    bug? "rendered=" condition not re-evaluated within a4jsf out

    koenhandekyn

      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}"
      />

        • 1. Re: bug?
          ilya_shaikovsky

          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>
          


          Works as expected.