On Wed, 13 Apr 2011 09:33:04 -0300, robnangle <robnan...@gmail.com> wrote:
There is no goalkeepers class, goalkeepers is just a list of players
taken from the database:
public List getGoalkeepers() {
gsp = new GenerateSelectPlayers(); // class that generates the
players
from the db
return gsp.getGoalkeepers();
}
Again: to make Select (and any operation in Java collections) work, the
object type you're putting in the collection needs to have appropriate
equals() and hashCode() methods.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org