0 Replies Latest reply on Apr 15, 2012 12:57 AM by Sergey Morenets

    a4j:include and rendered attribute

    Sergey Morenets Novice

      Hi

       

      The documentation states that a4j:include component is not rendered if "rendered" attribute is set to false.

      However the following code fragment fails. It says the UIInclude cannot include page with path.

       

      <a4j:include viewId="" rendered="#{false}" />

       

      The same happens if I use a4j:outputPanel.

       

      <a4j:outputPanel rendered="#{false}">
           <a4j:include viewId="" rendered="#{false}" />
                          </a4j:outputPanel>

       

      Can anybody help?