5 Replies Latest reply on Jun 25, 2009 9:33 AM by fil78

    scrollableDataTable is not rendered at all

      Hi,
      I am trying to use scrollableDataTable on my page and I almost gave up to make it work.. It should be rendered on selection of listbox row. Here is the page code:

      <a4j:outputPanel id="cars_panel">
       <h:selectOneListbox id="cars" size="9" styleClass="rpmListboxes"
       disabled="#{rpmBean.carsDisabled}" value="#{rpmBean.carId}">
       <s:selectItems var="car" value="#{rpmBean.cars}"
       label="#{car}" itemValue="#{car}" />
       <a4j:support eventsQueue="rpm" event="onclick"
       reRender="parts_panel,parts"
       action="#{rpmBean.onCarChoose}" />
       </h:selectOneListbox>
       </a4j:outputPanel>
       </h:panelGroup>
       </h:panelGrid>
      
       <a4j:outputPanel id="parts_panel">
       <h:outputText value="#{rpmBean.parts}" />
       </a4j:outputPanel>
       <br clear="all" />
       <br clear="all" />
       <rich:scrollableDataTable id="parts" height="400px"
       width="100%" value="#{rpmBean.parts}" var="parts"
       rendered="#{!rpmBean.partsDisabled}">
       <rich:column>
       <f:facet name="header">#{messages.RPM_PART_NAME}</f:facet>
       <h:outputText value="#{part}" />
       </rich:column>
       </rich:scrollableDataTable>
      

      But it is not rendered at all. Just no css (scrollable-data-table.xcss) loaded and it remains blank. What could be the problem? Could someone help?