1 Reply Latest reply on Aug 5, 2010 7:37 AM by ilya_shaikovsky

    a4j:outputPanel rendered false and setters not firing.

    nohacks9

      I seem to have an issue with the  a4j:outputPanel rendered false and setters not firing.

       

      <a4j:outputPanel  rendered="#{(someBean.currentTab != null)  }">

            Test Here  7 -->

           <h:inputText value="#{beanTest.testSaveText}"  id="beanTest7" ></h:inputText>   
                 
             <h:commandLink
            id="SaveButtonOverride7" value="Save 7" 
            action="#{someBean.applyChanges}"
            ></h:commandLink>
            <br/>
      </a4j:outputPanel>

       

            Test Here 8 -->

            <h:inputText  value="#{beanTest.testSaveText}" id="beanTest8"   ></h:inputText>

       

           <h:commandLink
             id="SaveButtonOverride8" value="Save 8" 
            action="#{someBean.applyChanges}"
            ></h:commandLink>

       

      When the  currentTab is not null it is rendered. That piece of code does not fire  the setters. The same piece of code outside the panel works.

       

      Any Ideals??

       

      Thanks

      Phil

       

      JSF 1.2

      RichFace  3.33