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      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to