Re: WOComponent quesion
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