Re: Question on ERXEC
Re: Question on ERXEC
- Subject: Re: Question on ERXEC
- From: David LeBer <email@hidden>
- Date: Mon, 17 Aug 2009 10:26:13 -0400
On 17-Aug-09, at 10:19 AM, Runyan, Darich wrote:
How does one go about fully using Wonder? Is this just a matter of
using
ERXApplication and ERXSession or is their more to it?
Thanks for the links, I will watch the video and read up.
Yes that is what I meant.
Your Application class inherits from ERXApplication and your Session
class inherits from ERXSession. Also to get autolocking you need to
set appropriate properties.
<http://davidleber.net/?p=282>
-----Original Message-----
From: David LeBer
To: Runyan, Darich
Cc: 'email@hidden'
Sent: 8/17/2009 9:55 AM
Subject: Re: Question on ERXEC
On 17-Aug-09, at 9:37 AM, Runyan, Darich wrote:
I have been looking into using ERXEC as the editing context for the
next app
that I am planning. My question is what is the best way to use it.
Is
there a way to make the ERXEC the default context so that calls to
deaultEditingContext give you an ERXEC or do I need to create a new
one per
use or possible per session?
Thanks
If you are fully using Wonder then ERXEC is patched in place of
EOEditingContext so when you call Session defaultEditingContext you
will get an ERXEC.
Having said that, the value of ERXEC is it's autolocking which really
applies when you are creating your own. Take a look at Chuck Hills
'Quite Good Practices' video [1] from last years WOWODC for some
suggestions on that (and the accompanying thread in this list last
month [2]) and my blog post on using multiple ECs [3].
[1] <http://www.wocommunity.org/podcasts/WOWODC08_BestPratices.mp4>
[2]
<http://lists.apple.com/archives/webobjects-dev/2009/Jul/msg00433.html
[3] <http://davidleber.net/?p=322>
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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
;david
--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: http://codeferous.com
blog: http://davidleber.net
profile: http://www.linkedin.com/in/davidleber
twitter: http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org
_______________________________________________
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