On Thursday 08 November 2007 23:28:40 ChuckDeal wrote:
> > Perhaps I didn't get the explanation but why can't you wrap models in
> > this order?
> >
> > AppendingListModel(
> >     SortingModel(
> >         HibernateListModel()
> >     )
> > )
>
> In that order the list would be sorting PRIOR to appending the item, which
> could result in an unsorted list.  In the order I specified, the item would
> get appeneded and then the sort would take place.

You're right. But if you were not using List you could return SortedSet from 
SortingModel and it would work :)


Dima

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

Reply via email to