3 Replies Latest reply on Nov 19, 2008 11:50 AM by ilya_shaikovsky

    extendedDataTable disappears after rerendering

    amoun

      hi,

      i'm using the tree component to choose a specific category. As soon as the user clicks on one of the categories a table (extended) should show the available items.

      Before choosing a category the table is displayed correctly (without elements).
      After rerendering the table just disappears.
      Strangely, if i resize my browser window - the table appears with all items.
      Multiple selection doesn't work at all!

      rich:datatable works perfectly - just happens when using the extended one.

      ...happens on all browsers similarly.

      I'd appreciate any suggestions.

      Here is the code:

      <rich:tree id="productTree" switchType="server"
       reRender="availableItems"
       value="#{Order.item.tree}"
       nodeSelectListener="#{Order.processSelection}"
       ajaxSubmitSelection="true" />
      
      <rich:extendedDataTable id="availableItems"
       value="#{Order.item.availableProducts}" var="item"
       width="600px" height="200px"
       sortMode="single"
       selectionMode="multi">
       <rich:column sortable="false" width="200px">
       <f:facet name="header">
       <h:outputText value="Zusammenfassung"/>
       </f:facet>
       <h:outputText value="#{item.summary}" escape="false" />
       </rich:column>
       <rich:column sortable="false">
       <f:facet name="header">
       <h:outputText value="Seriennummer"/>
       </f:facet>
       <h:outputText value="#{item.inventorySerialnumber}" />
       </rich:column>
      </rich:extendedDataTable>