On 27-Sep-07, at 11:56 AM, Gary Teter wrote:

Be sure to call super.awakeFromInsertion(ec) before doing anything else in this method.

Yes, please do! <http://davidleber.net/?p=265>

On Sep 26, 2007, at 10:20 PM, Tarun Reddy wrote:

When a new idea is created I have the following method

        public void awakeFromInsertion(EOEditingContext ec) {
                setAvgRating(0.0);
                setNumRatings(0);
                setProposedStatus();
                setSubmitDate(new NSTimestamp());
        }


;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
--
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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to