I have a (batched) display group of EOs and I need to sort it using
a key that only available in memory, not in the model. What is the
best way to do that? Using setSortOrderings seems to require that
all the keys are defined in the model.
It's basically impossible to sort a batching display group by an in-
memory key, because you only have a page at a time, and you don't know
if the page of objects you have would have sorted to be page 1 or page
100 without loading all of them into memory. Your only real option is
to compute your value in the database either with a stored proc or a
derived attribute, I suppose.
ms
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]