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: Wednesday, June 14, 2006 2:05 PM
> To: Tapestry users; Tapestry users
> Subject: Setting selected values on Palette
> 
> My little project moves on. I started with a select from 
> which I needed to retrieve multiple values, now things have 
> changed (damn the spec, we don't need no stinkin' specs!) and 
> I ended up using a Palette.
> 
> Which brings us to my question: I have no problem setting the 
> model and retrieving the selected values. But how can I set 
> the selected values if, say, I wanted to edit the information 
> on my form instead of filling a new form?
> 
> I tried passing a List of models (same type as the models I'm 
> using to fill the Palette's model), and a simple list with 
> Strings, but nothing happens.
> --
> Cumprimentos,
> Rui Pacheco
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to