Re: Setting selected values on Palette

2006-06-19 Thread Rui Pacheco
ed.contains( > a > ). > > Therefore, class A must override Object.equals() if you don't work with > the > very same instances of A in the IPropertySelectionModel and the > selected-list. > > To be more specific about this I'd have to know about exactly how

Re: Setting selected values on Palette

2006-06-18 Thread Gunna Satria
you don't work with > the > very same instances of A in the IPropertySelectionModel and the > selected-list. > > To be more specific about this I'd have to know about exactly how your > selected-List and your IPropertySelectionModel are populated > > hth Marcus &g

Re: Setting selected values on Palette

2006-06-16 Thread Rui Pacheco
l Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 15, 2006 1:13 AM > To: Tapestry users > Subject: Re: Setting selected values on Palette > > Hi Marcus > > Could you please explain what do you mean by that? > > On 6/14/06, Rui Pa

RE: Setting selected values on Palette

2006-06-15 Thread Schulte Marcus
06 1:13 AM > To: Tapestry users > Subject: Re: Setting selected values on Palette > > Hi Marcus > > Could you please explain what do you mean by that? > > On 6/14/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > > > > > Just be sure that modelObj.equals( s

Re: Setting selected values on Palette

2006-06-14 Thread Rui Pacheco
Hi Marcus Could you please explain what do you mean by that? On 6/14/06, Rui Pacheco <[EMAIL PROTECTED]> wrote: > Just be sure that modelObj.equals( selectedObj ) returns true when it should. What do you mean? The object that I pass to the selected parameter should be the same as the model? B

Re: Setting selected values on Palette

2006-06-14 Thread Rui Pacheco
Just be sure that modelObj.equals( selectedObj ) returns true when it should. What do you mean? The object that I pass to the selected parameter should be the same as the model? But the documentation mentions a List. Should I pass a List of models, then? On 6/14/06, Schulte Marcus <[EMAIL PROT

RE: Setting selected values on Palette

2006-06-14 Thread Schulte Marcus
You can use any collection of Model-objects (the objects which are returned by getOption(int) from your PropertySelectionModel). Just be sure that modelObj.equals( selectedObj ) returns true when it should. Marcus > -Original Message- > From: Rui Pacheco [mailto:[EMAIL PROTECTED] > Sent