Re: awake and sleep method invoking question
Re: awake and sleep method invoking question
- Subject: Re: awake and sleep method invoking question
- From: Jonathan Rochkind <email@hidden>
- Date: Mon, 31 Mar 2003 11:20:35 -0600
At 05:53 PM 3/28/2003 -0500, Kieran Kelleher wrote:
Any idea why I am getting awake and sleep invoked TWICE instead of ONCE for
each request-response cycle?
Hmm, well are you talking about awake/sleep on a _component_? Becuase
there are often two components involved in a request-response cycle (the
first, that has it's action invoked for the request, the second that is
returned from the action method and generates a response).
If the action method in question just returned 'this' (or
context().page()), I'd only expect one component-level awake/sleep. But if
it returns another component instance, whether of the same class or a
different class, I'd expect each instance involved to get an awake/sleep.
I'd only expect one app and session awake/sleep though.
If things aren't working like this... I have no idea, it's definitely odd.
--Jonathan
_______________________________________________
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.
_______________________________________________
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.