1 Reply Latest reply on Feb 22, 2012 3:41 AM by giant2

    Not rendered is not build... no! It's built!!!

    giant2 Newbie

      Hi all.

      I suppose that if a tag rendered (false) is specified for a component, that component is not created, but I find the exact opposition. I explain me better...

       

      Supposing this code:

      <rich:panel rendered="false">

           <c:forEach items="#{elements.build()}" value="element">

                <......>

           </c:forEach>

      </rich_panel>

       

      The thing I see is that the method elements.build() is called but the panel in which it is hosted is not rendered (has rendered=false).

      In this manner is not possible to implement lazycreating/loading for a component. Isn't it?