• 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: Peter Vandoros <email@hidden>
  • Date: Fri, 09 Mar 2007 10:34:37 +1100

Does this method need to be called if the component does not do any initialisation in awake() ? Or does WO do some things that are required?

Why exactly we need to call this method?

I have not been using this method anywhere and i have not encountered any issues that i am aware of.

Regards

Peter

Chuck Hill wrote:
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:


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

--This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



-- Peter Vandoros Software Engineer Etech Group Pty Ltd Level 3/21 Victoria St Melbourne VIC 3000 Australia

Ph: +61 3 9639 9677
Fax: +61 3 9639 9577
----------------------------------
IMPORTANT: This e-mail message and any attachments are confidential and may be privileged. If received in error, please reply to this message and destroy all copies and any attachments. You should check this message and any attachments for viruses or defects. Our liability is limited to resupplying any affected message or attachments. For more information about Etech Group, please visit us at http://www.etechgroup.com.au.
_______________________________________________
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: "Jerry W. Walker" <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>)
 >Re: WOComponent quesion (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Corrupt Nib file?
  • Next by Date: Re: WOComponent quesion
  • Previous by thread: Re: WOComponent quesion
  • Next by thread: Re: WOComponent quesion
  • Index(es):
    • Date
    • Thread