5 Replies Latest reply on Jun 20, 2012 4:18 AM by michael.vu

    rich:column rendered="false" results in page not loading

    amramajeed

      Hi,

       

      I'm using JSF 2 with richfaces 4 and jboss AS 6.

       

      I have a rich datatable with many columns, one of which i want to make dynamic.

       

      I set the rendered attribute of the column to an el expression. When the expression is true the column is displayed. When the expression is false, the entire page doesnt load (blank white screen).

       

      Just to make sure, i set the rich column rendered="false" (hardcoded instead of el), and i confirmed the behaviour, the page doesnt load when the rich column rendered is false.

       

      Here is the fragment:

       

      <rich:column rendered="false">

                                              <f:facet name="header">

                                                        <h:outputText value="Level" />

                                              </f:facet>

                                              <h:outputText value="#{record.level}" />

                                    </rich:column>

       

      What is wrong with my approach ?