• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WODisplayGroup's sortOrdering
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.



  • Prev by Date: Re: Object property initialization problem
  • Next by Date: jdbc plugin question
  • Previous by thread: Re: jdbc connection URL for SQL Server
  • Next by thread: jdbc plugin question
  • Index(es):
    • Date
    • Thread