Thiago H. de Paula Figueiredo wrote:
> 
> 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
> 

Ok and this method should be in the getKeepers()?

What do i check if its equal to? 

Apologies for what probably are stupid questions, I just hevnt yet
encountered them..


--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/T5-Select-wont-find-selected-value-in-edit-tp4300292p4300494.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

Reply via email to