4 Replies Latest reply on Jul 8, 2008 10:48 AM by Miglena Borisova

    f:facet does not show when rendered

    Miglena Borisova Newbie

      Hi, I have the following code:

      <f:facet name="header">
       <h:outputText value="#{messages['administration.template.step2']}" rendered="#{not templateManager.editControlsFlag}"/>
       <h:outputText value="#{messages['administration.template.editTempControls']}" rendered="#{templateManager.editControlsFlag}"/>
      </f:facet>
      


      The problem is that the outputText part shows when editControlsFlag==true, but does not show when editControlsFlag==false. Later in my code, I have rendered="#{not templateManager.editControlsFlag}" again, on other parts, and it works well. It is only in the facet where this flag does not seem to work when false?! Strange?!