EO: Different way of asking the same thing...
EO: Different way of asking the same thing...
- Subject: EO: Different way of asking the same thing...
- From: Goodbye Bill <email@hidden>
- Date: Sun, 03 Aug 2003 04:36:09 -0400
Okay, I'll try this differently...
I have an array of objects that I've pulled back using the default methods
created by EOModeler. Those objects have a property called "TYPE" that
would like to use to find specific groupings of objects. For example, 25%
of the objects in the array will have a type of "A," 25% will have "B," and
so on. I need each grouping separate because each grouping is displayed in
a separate area of the page.
So...
ITEM 1 FROM GROUP "A"
ITEM 2 FROM GROUP "A"
ITEM 3 FROM GROUP "A"
ITEM 4 FROM GROUP "A"
ITEM 1 FROM GROUP "B"
ITEM 2 FROM GROUP "B"
ITEM 3 FROM GROUP "B"
ITEM 4 FROM GROUP "B"
ITEM 1 FROM GROUP "C"
ITEM 2 FROM GROUP "C"
ITEM 3 FROM GROUP "C"
ITEM 4 FROM GROUP "C"
I am fetching them initially using...
myArray = parentObject.Children();
I essentially need to re-analyze the contents of the "myArray" array object
and pull out three groups of items.
Is THIS possible? I have looked at the API and books and can find no way of
doing so.
Thanx,
"Bill"
_______________________________________________
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.