extendedDataTable does not load
odomitchi Mar 24, 2009 2:07 PMHi, I'm new to richfaces (3.3.0GA with seam and facelets) and I'm trying to use an ExtendedDataTable, I followed the source code on the live demo but when I run it, all the components on the page load except for the table which appears to be loading indefinitely. Please see the details of my code below. Note I also tested a rich:dataTable succesfully but if I changed the tag to rich:ExtendedDataTable the same issue occurs. Please help! Thanks
A - facelets page
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns="http://www.w3.org/1999/xhtml"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:rich="http://richfaces.org/rich"
xmlns:a4j="http://richfaces.org/a4j"
template="/layout/template.xhtml">
<ui:define name="body">
<h:form>
<h:panelGrid> <!-- columns="2" columnClasses="top,top"-->
<rich:extendedDataTable id="transactionData" value="#{transactionResults}" var="_transaction"
width="580px" height="400px" sortMode="#{transactionAction.sortMode}" selectionMode="#{transactionAction.selectionMode}">
<rich:column sortable="true" sortBy="#{_transaction.id.transactionname}" filterBy="#{_transaction.id.transactionname}" filterEvent="onkeyup" width="170px" label="transaction id">
<f:facet name="header">
<h:outputText value="transaction id"/>
</f:facet>
<h:outputText value="#{_transaction.id.transactionname}"/>
</rich:column>
<rich:column sortable="true" sortBy="#{_transaction.transactiondescription}" filterBy="#{_transaction.transactiondescription}" filterEvent="onkeyup" width="170px" label="description">
<f:facet name="header">
<h:outputText value="description"/>
</f:facet>
<h:outputText value="#{_transaction.transactiondescription}"/>
</rich:column>
</rich:extendedDataTable>
</h:panelGrid>
</h:form>
</ui:define>
</ui:composition>B - The seam componenet transactionAction has getters and setters for sortMode and selectionMode
C - the factory transactionResults is defined in componenets.xml and while debugging (place breakpoint) I can see that the collection is getting populated
Thanks for your help