• 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
ERXBatchingDisplayGroup question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERXBatchingDisplayGroup question


  • Subject: ERXBatchingDisplayGroup question
  • From: "Morris, Mark" <email@hidden>
  • Date: Thu, 12 Oct 2017 03:42:41 +0000
  • Thread-topic: ERXBatchingDisplayGroup question

Hi all,

From some iffy experiences with them back in the WO 3.1 days, I’ve always
avoided display groups, using my own batching/paging logic. But now I’m having
issues with an existing ERXBatchingDisplayGroup, and I’m not sure what’s going
on.

displayedObjects() is working fine, and contains the records I expect.
allObjects() however returns a FakeArray object, containing an equal number of
NSKeyValueCoding.ErrorHandling placeholder objects as the total count I expect.
I see some private and protected methods that look like they might force
allObjects to update but nothing public, and I see that an EOEditingContext
save or revert will probably also do the same. However, I don’t see how to just
ask an ERXBatchingDisplayGroup for all of its objects, without changing the ec.

Perhaps given the batching nature I shouldn’t be doing this, and instead I
should just go back to the dg’s data source? Any thoughts or advice is welcome!

Regards,
Mark

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERXBatchingDisplayGroup question
      • From: Aaron Rosenzweig <email@hidden>
  • Prev by Date: Wonder upgrade 6 to 7
  • Next by Date: Re: ERXBatchingDisplayGroup question
  • Previous by thread: Re: Wonder upgrade 6 to 7
  • Next by thread: Re: ERXBatchingDisplayGroup question
  • Index(es):
    • Date
    • Thread