• 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
awakeFromInsertion Oddity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

awakeFromInsertion Oddity


  • Subject: awakeFromInsertion Oddity
  • From: David Avendasora <email@hidden>
  • Date: Fri, 25 Aug 2006 17:56:12 -0400

Hi all,

Hi all. I'm working on an WO 5.3.1 Direct to Java Client application that deploys to Tomcat using a Servlet Single Directory Deployment (SSDD).

I'm trying to set some default values for an object so I'm overwriting awakeFromInsertion(EOEditingContext) in my custom class (extends EOGenericRecord) and it works just like I'd expect when launching it using "Build and Go", but if I just build it and then launch it through Tomcat, the defaults don't work. In both cases I'm using the "Deployment" build configuration.

I'm running Tomcat 5.0.28 on OS X client, but get the same behavior on Tomcat 4.0.6 on Windows 2000 Server.

Here's the code:

public void awakeFromInsertion(EOEditingContext ec) {
super.awakeFromInsertion(ec);
if (partNumber() == null) {
setPartNumber("00000000000000");
}
}


Any ideas?
 _______________________________________________
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: awakeFromInsertion Oddity
      • From: Ian Joyner <email@hidden>
    • Re: awakeFromInsertion Oddity
      • From: David Avendasora <email@hidden>
  • Prev by Date: Re: EOGenericRecord vs. storedValue methods
  • Next by Date: Re: awakeFromInsertion Oddity
  • Previous by thread: Re: EOGenericRecord vs. storedValue methods
  • Next by thread: Re: awakeFromInsertion Oddity
  • Index(es):
    • Date
    • Thread