Re: Obtaining EO from EOGlobalID
Re: Obtaining EO from EOGlobalID
- Subject: Re: Obtaining EO from EOGlobalID
- From: Amedeo Mantica <email@hidden>
- Date: Tue, 16 Feb 2010 16:11:45 +0100
Wonder is an excellent framework, and yes, it's free
http://wiki.objectstyle.org/confluence/display/WONDER/Home
Amedeo
On 16/feb/2010, at 12.52, Kieran Kelleher wrote:
> Wonder? Where can I find out more about this Wonder thing? Is it free and open source or must I pay for it? And why would I need it? Is it going to save me some programming time?
>
> And why has no one ever mentioned this Wonder thing before? ... or even about it being cool?
>
> On Feb 16, 2010, at 6:16 AM, David Avendasora wrote:
>
>> I don't know if anyone has ever mentioned this, but Wonder is pretty cool.
>>
>> Dave
>>
>> On Feb 15, 2010, at 9:30 PM, Mike Schrag wrote:
>>
>>> or use ERXEOControlUtilities.convertEOtoGID and ERXEOControlUtilities.convertGIDtoEO, which supports passing in single objects, dictionaries, arrays, etc, and it will crawl the data structures and convert them recursively.
>>>
>>> ms
>>>
>>> On Feb 15, 2010, at 9:16 PM, Chuck Hill wrote:
>>>
>>>>
>>>> On Feb 15, 2010, at 5:54 PM, Ricardo J. Parada wrote:
>>>>
>>>>> Hi All,
>>>>>
>>>>> I pass an EOGlobalID to a background thread. The background thread then tries to get an EO for it in an editing context used exclusively by the background thread. I do this:
>>>>>
>>>>> Foo localFoo = (Foo) backgroundThreadEditingContext.objectForGlobalID(gid);
>>>>>
>>>>> However the returned value is null. I'm thinking this is because the EO corresponding to the global ID has never been fetched through the backgroundThreadEditingContext.
>>>>
>>>> Yes.
>>>>
>>>>
>>>>> What should I be using to get an EO? This maybe?
>>>>>
>>>>> Foo localFoo = (Foo) backgroundThreadEditingContext.faultForGlobalID(gid, backgroundThreadEditingContext);
>>>>
>>>>
>>>> Yes. f
>>>>
>>>>
>>>> Chuck
>>>>
>>>>
>>>> --
>>>> Chuck Hill Senior Consultant / VP Development
>>>>
>>>> Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
>>>> http://www.global-village.net/products/practical_webobjects
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
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