• 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
Re: Class Not Displaying in WO Builder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Class Not Displaying in WO Builder (From: Drew Thoeni <email@hidden>)
 >Re: Class Not Displaying in WO Builder (From: arturo <email@hidden>)
 >Re: Class Not Displaying in WO Builder (From: Drew Thoeni <email@hidden>)

  • Prev by Date: Re: Class Not Displaying in WO Builder
  • Next by Date: Re: What is JavaPlot? Where is the documentation?
  • Previous by thread: Re: Class Not Displaying in WO Builder
  • Next by thread: Re: Class Not Displaying in WO Builder - problem solved
  • Index(es):
    • Date
    • Thread