0 Replies Latest reply on Dec 6, 2010 12:14 PM by kinson jiang

    cannot update list data in the from site.

    kinson jiang Newbie

      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.

       

       

      Some one can figure out what happened on this situation?

       

       

      Thanks,