Thiago H. de Paula Figueiredo wrote: > > On Wed, 13 Apr 2011 08:30:42 -0300, robnangle <robnan...@gmail.com> > wrote: > >> t:select t:id="goalkeeper" model="goalkeepers" value="team.keeper" >> blankOption="never"/ > > Make sure you overrode the equals() and hashCode() methods in the > Goalkeeper class with a correct implementation. > > -- > 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 >
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(); } -- View this message in context: http://tapestry.1045711.n5.nabble.com/T5-Select-wont-find-selected-value-in-edit-tp4300292p4300475.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org