Re: Using ERXEC with defaultEditingContext?
Re: Using ERXEC with defaultEditingContext?
- Subject: Re: Using ERXEC with defaultEditingContext?
- From: David LeBer <email@hidden>
- Date: Tue, 14 Oct 2008 22:58:24 -0400
On 14-Oct-08, at 10:51 PM, Jeff Schmitz wrote:
After some "thorough" research, I've decided I need to use new ERXEC
editing contexts instead of using the Session defaultEditingContext
everywhere, especially in cases where I'm make changes to EO's. I
had a question about the ERXEC documentation. It states:
"... you will need to use this class and its subclasses
exclusively as your ECs, it also contains a factory class to create
editing contexts. ...
Does this mean, if I an ERXEC editing context, I can't use the
Session's defaultEditingContext anywhere in my application?
No.
If you are using Wonder and doing the 'using Wonder' things:
Your Application class subclasses ERXApplication
Your Session class subclassess ERXSession
Then your Session defaultEditignContext IS an ERXEC vended editing
context. Its magic that Project Wonder...
;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