• 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: WOComponent quesion
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: WOComponent quesion


  • Subject: Re: WOComponent quesion
  • From: Chuck Hill <email@hidden>
  • Date: Thu, 8 Mar 2007 09:01:16 -0800

You are correct. Strictly speaking, it is only needed in that case. I tend to engage in a bit of PBP (Paranoia Based Programming) when I am not sure who is going to use the code. Better safe than hunting bugs.

Chuck


On Mar 8, 2007, at 3:08 AM, Jerry W. Walker wrote:

Hi, Timo & Chuck,

My understanding was that ensureAwakeInContext(context()) is only needed if you are going to invoke methods on the previous page, not if you are just going to return it, as in this example.

Regards,
Jerry

On Mar 8, 2007, at 3:44 AM, Timo Hoepfner wrote:


Am 07.03.2007 um 18:52 schrieb Chuck Hill:

    previousPage.ensureAwakeInContext(context());
    return previousPage;

You learn something new every day... I've never noticed the ensureAwakeInContext mehod and have been returning pages stored in a variable for years now without a problem. I guess it was pure luck it was working, wasn't it?


Timo


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com


This email sent to email@hidden


--
__ Jerry W. Walker,
WebObjects Developer/Instructor for High Performance Industrial Strength Internet Enabled Systems


    email@hidden
    203 278-4085        office





--

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects






_______________________________________________
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: WOComponent quesion
      • From: Peter Vandoros <email@hidden>
References: 
 >WOComponent quesion (From: Amedeo Mantica <email@hidden>)
 >Re: WOComponent quesion (From: Chuck Hill <email@hidden>)
 >Re: WOComponent quesion (From: Timo Hoepfner <email@hidden>)
 >Re: WOComponent quesion (From: "Jerry W. Walker" <email@hidden>)

  • Prev by Date: Re: SSL certificates
  • Next by Date: Re: WebObjects 5.3.3, DST and J2SE 1.4.2, parse javascript help
  • Previous by thread: Re: WOComponent quesion
  • Next by thread: Re: WOComponent quesion
  • Index(es):
    • Date
    • Thread