EO Constructor
EO Constructor
- Subject: EO Constructor
- From: Tavis McDevitt <email@hidden>
- Date: Wed, 11 Nov 2009 17:38:20 -0800 (PST)
I'm reading Marker's "WebObjects 5 for Mac OS X." He details a method of providing default values for a component's form: he sets an EO's attributes in it's constructor. Then the bindings to those attributes cause the form displayed to the user to have default values. He does this because the EO has not been inserted into the EC yet and so awakeFromInsertion has not been called.
I am of the understanding that only non attribute (temporary) variables can be safely initialized in the constructor. What is a better way to provide default values on a form bound to a new EO?
Tavis McDevitt
_______________________________________________
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