• 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: Newbie question about REST
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question about REST


  • Subject: Re: Newbie question about REST
  • From: Mike Schrag <email@hidden>
  • Date: Mon, 22 Oct 2012 11:03:02 -0400

if you run wonder with auto locking, you'll auto lock. if you don't, you need to lock. same rules as normal WO.

ms

On Oct 22, 2012, at 11:00 AM, Philippe Rabier <email@hidden> wrote:

> Hi All,
>
> Me again. I need help from the ERRest gurus. Finally, if I'm right, all examples are wrong. The example developed by Mike, the one made by Pascal in the wiki - http://wiki.wocommunity.org/display/documentation/Your+First+Rest+Project ...
>
> I read more carefully the source code of ERRest and I didn't see some auto-lock mechanisms.
>
> So where is the truth?
>
> Philippe
>
> On 21 oct. 2012, at 21:05, Philippe Rabier wrote:
>
>> Sorry. I read the ERXEORestDelegate code and I got my answer. We have to lock/unlock the ec manually.
>>
>> Philippe
>>
>> On 21 oct. 2012, at 14:47, Philippe Rabier wrote:
>>
>>> Hi all,
>>>
>>> If we do some fetches or updates manually in our controllers (in the createAction(), indexAction(), …) I suppose we have to manually lock the editingContext returned by the provided method edtingContext().
>>>
>>> Is my assumption correct?
>>>
>>> Philippe
>>>
>>>
>>> _______________________________________________
>>> 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


  • Follow-Ups:
    • Re: Newbie question about REST
      • From: Philippe Rabier <email@hidden>
References: 
 >Newbie question about REST (From: Philippe Rabier <email@hidden>)
 >Re: Newbie question about REST (From: Philippe Rabier <email@hidden>)
 >Re: Newbie question about REST (From: Philippe Rabier <email@hidden>)

  • Prev by Date: Re: Newbie question about REST
  • Next by Date: Re: ERD2WEditToOneRelationship + (toOneUIStyle='popup') + createAction button: is it possible?
  • Previous by thread: Re: Newbie question about REST
  • Next by thread: Re: Newbie question about REST
  • Index(es):
    • Date
    • Thread