Re: Enumerating EOs in a new thread
Re: Enumerating EOs in a new thread
- Subject: Re: Enumerating EOs in a new thread
- From: Mike Schrag <email@hidden>
- Date: Fri, 25 Jan 2008 12:38:37 -0500
If you are using Wonder: there are two methods in
ERXEOControlUtilities for getting an array of global ids from an
array of eos and vice versa.
The general case version is:
<http://webobjects.mdimension.com/wonder/api/er/extensions/ERXEOControlUtilities.html#convertEOtoGID(java.lang.Object)
>
<http://webobjects.mdimension.com/wonder/api/er/extensions/ERXEOControlUtilities.html#convertGIDtoEO(com.webobjects.eocontrol.EOEditingContext, java.lang.Object)
>
These will recursively convert arrays/dictionaries/sets/etc that
contains EO's into their GID equivalents and back again.
ms
_______________________________________________
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