On Wednesday 07 November 2007 01:18:32 ChuckDeal wrote: > SortingModel (IChainingModel) -> AppendingListModel > (IComponentAssignmentModel) -> HibernateListModel (database oriented model > that returns a list of items from the db, unsorted).
Perhaps I didn't get the explanation but why can't you wrap models in this order? AppendingListModel( SortingModel( HibernateListModel() ) ) > I was able to make a Model that implements IChainingModel, > IComponentAssignmentModel, and IWrappedModel that follows the chain until > it either encounters a IComponentAssignmentModel or exhausts the chain. If > it found a IComponentAssignmentModel, then it calls wrapOnAssignment and > calls setChainedModel on the model containing the IComponentAssignmentModel > to get it back into the hierarchy. > > It appears to be working for me now. If you are interested, I can post the > code. I'd like to. Dima --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]