0 Replies Latest reply on Dec 6, 2010 2:31 PM by quintenjiang.kinsonjob.yahoo.com

    cannot update list data in the front site.

    quintenjiang.kinsonjob.yahoo.com
      Hi,

      I define equals method in my entity bean like this:

      public boolean equals(Object obj)

      {
                if (!(obj instanceof Member)) return false;
                Member other = (Member) obj
                return other.getCellNumber() != null && other.getCellNumber().equals(this.getCellNumber());
      }

      in order to work at rich:orderingList; which it works well.
      But it not work at the data table rich:dataTable; when I update some data, and re-load data list from server site, but it does not change at the front site.
      of course if  I remove the equals method in the entity define, this rich:dataTable works well, but rich:orderingList did not work.

      I am using seam working with richfaces

      Some one can figure out what happened on this situation?





      Thanks,