hi all...
I have a rich faces datatable. The table is displayed fine, but when I click on an arrow to perform sorting, nothing happens.
here's my web.xml
here's my xhtml:Code:<filter> <display-name>RichFaces Filter</display-name> <filter-name>richfaces</filter-name> <filter-class>org.ajax4jsf.Filter</filter-class> </filter> <filter-mapping> <filter-name>richfaces</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <!-- Just here so the JSF implementation can initialize --> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.faces</url-pattern> </servlet-mapping>
ideas ?Code:<ui:define name="searchtableresults"> <h:form id="dataTableForm"> <div id="organiztionsSection" class="section"> <rich:dataTable id="organizations" rendered="#{!empty organizations}" styleClass="data" rows="5" value="#{organizations}" var="row" width="775" columns="3" > <rich:column sortBy="#{row.id}"> <f:facet name="header"> <h:outputText value="ID"/> </f:facet> <h:outputText value="#{row.id}"/> </rich:column> <rich:column sortBy="#{row.name}"> <f:facet name="header"> <h:outputText value="Name"/> </f:facet> <h:outputText value="#{row.name}"/> </rich:column> <rich:column sortBy="#{row.description}"> <f:facet name="header"> <h:outputText value="Description"/> </f:facet> <h:outputText value="#{row.description}"/> </rich:column> </rich:dataTable> </div> </h:form> </ui:define>
thanks in adv....


Reply With Quote