Thanks for the suggestion.  I think so.  

        public boolean equals(Object other) {
                if ((this == other))
                        return true;
                if ((other == null))
                        return false;
                if (!(other instanceof Expense))
                        return false;
                Expense castOther = (Expense) other;

                if (this.getId() == null)
                        return false;
                if (castOther.getId() == null)
                        return false;

                return castOther.getId().equals(this.getId());
        }

        public int hashCode() {
                int result = 17;

                if (getId() != null)
                        result = result * getId().hashCode();

                return result;
        }

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Refreshingview-vs-ListView-tp4675224p4675236.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to