ERXBatchingDisplayGroup question
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