WODisplayGroup's sortOrdering
WODisplayGroup's sortOrdering
- Subject: WODisplayGroup's sortOrdering
- From: Owen McKerrow <email@hidden>
- Date: Wed, 21 Apr 2004 12:01:47 +1000
Hi All,
After several hours trying to track down a bug I think I have it
figured out, I just want to make certain Im understanding the Doc
correctly.
Im extending WODisplayGroup and prt of that involves creating an
NSDictionary of the Alphabet as the Key and the first object to
beginning with that letter as the object. Now this of course would be
easiest if the allObjects() array of the displaygroup is in sorted
order. So I had assumed that I would set sortOdering of the
Displaygroup and then call qualifyDataSource, thus giving me sorted
object according to sortOrderings().
However after re-reading the doc for qulaifer() method I noticed this :
"Provides the last qualifier given to the WODisplayGroup via
setQualifier or qualifyDisplayGroup. The WODisplayGroup uses this
qualifier, in conjunction with its sortOrderings, to filter allObjects
into displayedObjects."
So does that mean that sortOrderings is only applied when the objects
are put into displayedObjects() but not in allObjects() ? If so, any
one have any idea why this would be ? And a quick way of forcing the
DisplayGroup to use the sortOrderings on the allObjects() array ?
Thanks Very Much
Owen McKerrow
"As of tomorrow, employees will only be able to access the building
using individual security cards. Pictures will be taken next Wednesday
employees will receive their cards in two weeks."
- "Dilbert Quotes" Winner, Fred Dales, Microsoft Corp
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.