1 Reply Latest reply on Jun 8, 2011 11:51 AM by eunnini

    rich:simpleTogglePanel expand inside datatable

    eunnini

      Hello,

       

      I have a problem with using rich:simpleTogglePanel in h:dataTable

       

      <h:dataTable value="#{catalogueSearchBean.listForm.paginator.list}" id="list" var="pc">

            <h:column>

                   <rich:simpleTogglePanel switchType="ajax" label="#{pc.title}">

                             <h:outputText value="#{pc.description}" escape="false"/>

                 </rich:simpleTogglePanel>

           </h:column>

      </h:dataTable>

       

      When I open toggle in first row, every row opens automatically. When I try to use open attribute it says

      opened="#{pc.opened}": java.lang.IllegalArgumentException: argument type mismatch - for boolean value

       

      Is it possible to open just one row on expand

       

      Thanks