1 Reply Latest reply on Mar 5, 2011 7:23 PM by boy18nj

    rich:collapsiblePanel expanded issue

    rjevans2000

      I am using a rich:collapsiblePanel and want it to be initially expanded based on some backing bean logic:

       

      <rich:collapsiblePanel style="width: 350px"

                              header="Name" expanded="#{listEditorBean.listNotExpired(list)}" switchType="client">

      ......

      </rich:collapsiblePanel>

       

       

      However, the backing bean method NEVER gets called. If I set expanded="true" or expanded="false", then it behaves as expected.

       

      Is there a limitation with this component which means you can't call a backing bean method from the expanded attribute?

       

      I am using richfaces 4 M5