Re: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
Re: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
- Subject: Re: WODisplayGroup + qualifyDisplayGroup() + mutators = FAIL
- From: Owen McKerrow <email@hidden>
- Date: Wed, 27 Aug 2008 23:05:01 +1000
On 27/08/2008, at 2:19 PM, Q wrote:
Has anyone else noticed that if you use qualifyDisplayGroup() on a
WODisplayGroup to restrict displayedObjects() with a qualifier and
then try to use insertNewObjectAtIndex, indexOfLastDisplayedObject
or insertObjectAtIndex, they are all broken because the
displayedObjects and allObjects arrays are no longer the same size.
Hmmm it may just be that its late at night, but aren't
displayedObjects and allObjects almost always different in size ? I
mean isn't that the point of having teh two of them, you have 30
objects in the all array of which you want to show 10 ( the display
array).
Anyways doesn't help at all with your bug, but just curious as to
what it was you meant. Is it that you have qualified the displayed
objects so its now say 8 objects instead of 10, which would stuff up
your batching as the batching is based of the allObjects array ?
Owen
_______________________________________________
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