• 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
Re: Array of Objects to Array of Global IDs ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Array of Objects to Array of Global IDs ?


  • Subject: Re: Array of Objects to Array of Global IDs ?
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 5 Nov 2007 19:57:48 -0500

Aside from the editingContext().globalIDForObject(eo), if you use Wonder, there's the much fancier and handier ERXEOControlUtilities.convertEOtoGID(Object), which supports recursively converting dictionaries, arrays, etc from EO's to their GID equivalents (and the corresponding inverse ERXEOControlUtilities.convertGIDtoEO(EOEditingContext, Object)).

ms

On Nov 5, 2007, at 7:49 PM, James Cicenia wrote:

Hello -

I need to save selection of objects in my database. In order for me to do that
do I have to first extract their global ids and then store those?


If so is there a magic one line of WebObjects code that gives me the ids?

Thanks
James Cicenia

_______________________________________________
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


_______________________________________________
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


References: 
 >Array of Objects to Array of Global IDs ? (From: James Cicenia <email@hidden>)

  • Prev by Date: Re: Array of Objects to Array of Global IDs ?
  • Next by Date: Re: Array of Objects to Array of Global IDs ?
  • Previous by thread: Re: Array of Objects to Array of Global IDs ?
  • Next by thread: Re: Array of Objects to Array of Global IDs ?
  • Index(es):
    • Date
    • Thread