• 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
Re: WODisplayGroup.displayableObjects()?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WODisplayGroup.displayableObjects()?


  • Subject: Re: WODisplayGroup.displayableObjects()?
  • From: "John Boynton" <email@hidden>
  • Date: Thu, 03 Jul 2003 17:20:37 -0700

email@hidden writes:
>	Unfortunately, doing the above means that the filtering would be
>repeated, once in your method and once when the display group is
>creating its displayed objects array.

Yes this is what I wanted to avoid.

>You might be able to avoid this
>by not setting a local qualifier

or delegate

> on the display group.  Instead in your
>code, you would send the displayGroup an allObjects() message prior to
>displaying the objects.  You would then apply the local qualifier
>programmatically, get the count of the resulting array, and send the
>display group a setObjectArray() message with this filtered array as an
>argument followed by an updateDisplayedObjects() message which should
>apply any sort orderings and batching.

Or, since allObjects() will be filtered right after the fetch, my
(homespun) batch navigator can just get allObjects().count().

Sounds like the way to go. Thanks Art.

John
_______________________________________________
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.

References: 
 >Re: WODisplayGroup.displayableObjects()? (From: Art Isbell <email@hidden>)

  • Prev by Date: External Command Call - More Java Than WebObjects
  • Next by Date: EOModeler error with MySQL
  • Previous by thread: Re: WODisplayGroup.displayableObjects()?
  • Next by thread: External Command Call - More Java Than WebObjects
  • Index(es):
    • Date
    • Thread