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: Get mediator from a component  (Read 6788 times)
belzebac
Newbie
*
Posts: 1


View Profile Email
« on: November 18, 2010, 06:36:36 »

Hi,

I wonder if there is a way to get a mediator from a component Can anyone help me?

Thank you for the help.
Logged
Tekool
Sr. Member
****
Posts: 192


View Profile WWW Email
« Reply #1 on: November 18, 2010, 09:03:31 »

This is really something you should avoid in all ways !

You probably can report your view logic into the mediator itself to avoid this. I mean instead of needing to access your mediator from your view, simply report the methods that needs it from your view to your mediator.
Logged
Pages: [1]
Print