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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to [EMAIL PROTECTED]


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to