Re: Class Not Displaying in WO Builder
Re: Class Not Displaying in WO Builder
- Subject: Re: Class Not Displaying in WO Builder
- From: Anjo Krank <email@hidden>
- Date: Wed, 17 Dec 2003 07:45:06 +0100
- Xx-reply-to: email@hidden
Am 16.12.2003 um 23:16 schrieb Drew Thoeni:
public MaintainQuestionVars() {
super();
Integer zeroInt = new Integer(0);
setBlankLetters(zeroInt);
setOffsetOfA(zeroInt);
setQuestionWord("x");
setPageTitle("Maintain Questions");
}
It is not a good idea to put such code in your contructor. It will be
executed for *every* item, even those simply fetched from the DB - who
will get these values overwritten a few instructions later. Better put
it in awakeFromInsertion().
Cheers, Anjo
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.