• 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
EO: Different way of asking the same thing...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Struggling with qualifiers involving sets
  • Next by Date: Two tables walk into an EO model...
  • Previous by thread: Re: webobjects-dev digest, Vol 1 #372 - 2 msgs
  • Next by thread: Two tables walk into an EO model...
  • Index(es):
    • Date
    • Thread