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: custom notification  (Read 3070 times)
krange
Newbie
*
Posts: 8


View Profile Email
« on: October 13, 2008, 03:13:50 »

Hey,

I'm looking at creating a custom notification. I've got my mediator and notification classes setup, but running into an issue implementing it in a command. I was thinking the best way to do this would be to override execute with a notification that was a subclass of INotification but no love for this process. Whats the best way of going about this? Right now I'm just casting the notification in my execute method as my subclass but this doesn't seem "right".

Thanks,
Kris
Logged
puremvc
Global Moderator
Hero Member
*****
Posts: 2871



View Profile WWW Email
« Reply #1 on: October 13, 2008, 03:47:58 »

Wow, I really have to add this to the FAQ.

For now, the canonical answer lies in the following post:

http://forums.puremvc.org/index.php?topic=733

-=Cliff>
Logged
Pages: [1]
Print