Futurescale, Inc. PureMVC Home

The PureMVC Framework Code at the Speed of Thought


Over 10 years of community discussion and knowledge are maintained here as a read-only archive.

New discussions should be taken up in issues on the appropriate projects at https://github.com/PureMVC

Pages: [1]
Print
Author Topic: Question about notification handler?  (Read 2871 times)
marks416
Sr. Member
****
Posts: 52


View Profile Email
« on: March 27, 2009, 02:26:43 »

Hi,

We have two way to handle notifications ,that are handleNotification(note:INotification) and respondTo****(note:INotification).

May I use both method in same AS mediator file?

Thanks

Mark
Logged
Tekool
Sr. Member
****
Posts: 192


View Profile WWW Email
« Reply #1 on: March 28, 2009, 04:53:56 »

We cannot handle notification with respondTo**** natively. It is your responsibility to handle the notification in handleNotification and to redirect to your method respondTo**** next. So, to be precise, it is a mandatory to use both in your case.  :P
Logged
Tekool
Sr. Member
****
Posts: 192


View Profile WWW Email
« Reply #2 on: March 28, 2009, 07:34:17 »

Oh sorry, I didn't see that the question was relative to Fabrication. I follow threads linearly with my RSS reader. I believe you where talking about the PureMVC framework.
Logged
marks416
Sr. Member
****
Posts: 52


View Profile Email
« Reply #3 on: March 29, 2009, 06:17:47 »

Hi Tek,

respondTo****(note:INotification) is the special way used in Fabrication.

I discuss about Fabracation now.

Thanks

Mark

Logged
Pages: [1]
Print