On Monday 12 November 2007 22:13:33 ChuckDeal wrote: > > You're right. But if you were not using List you could return SortedSet > > from > > SortingModel and it would work :) > > But then I'd be using a Set instead of a List. DropDownChoice (via > AbstractChoice) expects the choices model to represent a List.
Well, you could have yet another model that lazily wraps a Set in a List. And you could enhance DDC with this model to support Sets (I've always wanted DDC and ListView to support sets). But I admit it's quite hackish to solve your initial problem like that. Dima --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]