• 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: awake and sleep method invoking question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >awake and sleep method invoking question (From: "Kieran Kelleher" <email@hidden>)

  • Prev by Date: Fwd: [OB-Dev] Annoying BigDecimal problems in 5.2
  • Next by Date: Re: How can I fix WO5 outer Join syntax?
  • Previous by thread: Re: awake and sleep method invoking question
  • Next by thread: Context-sensitive Documentation?
  • Index(es):
    • Date
    • Thread