1 Reply Latest reply on Jul 31, 2008 10:14 AM by Fernando nothing

    sort icon is not updated in Richfaces 3.2.2 Beta 2

    Fernando nothing Newbie

      Hello everybody,

      I've created a rich:dataTable using Richfaces 3.2.2 BETA2 and when I click in the sort icon it is not updated with the ascending/descending images like it did in previous versions. Am I doing anything wrong? Is this a bug?

      It works as expected if I use Richfaces 3.2.1GA

      My Environment:
      Tomcat 6.0
      Richfaces 3.2.2 BETA2
      JSF SUN RI - 1.2_08-b06-FCS

      dataTable page:

      <%@ page contentType="text/html"%>
      <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
      <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
      <%@ taglib uri="http://richfaces.org/a4j" prefix="a4j"%>
      <%@ taglib uri="http://richfaces.org/rich" prefix="rich"%>
       <rich:dataTable value="#{TestBean.someData}" var="someVar">
       <rich:column sortBy="#{someVar}" selfSorted="true">
       <f:facet name="header">
       <h:outputText value="Some Var" />
       <h:outputText value="#{someVar}" />

      package exemplo;
      import java.util.ArrayList;
      import java.util.List;
      public class TestBean {
       private List<Integer> someData;
       public TestBean(){
       someData = new ArrayList<Integer>();
       for(int i = 0; i < 10; i++){
       public List<Integer> getSomeData() {
       return someData;

      Thanks in advance!