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

Show Posts

| * |

  Show Posts
Pages: [1]
1  Announcements and General Discussion / General Discussion / Problem with proxy on: March 29, 2010, 03:12:20
Greetings,

After developing with cairngorm for a long time i wanted to try out puremvc.
I understand most of the basics now but i'm having a problem with the proxy's.
When i register one, i can't check if i registered it.
:
if (!facade.hasProxy(getUserProxy.NAME))
{
trace(facade.hasProxy(getUserProxy.NAME));
facade.registerProxy( new getUserProxy());
}

If i run this code it keeps on saying it doesn't have the proxy yet and registers it again.
This way i can't get the data from my proxy.

But if i do the same with a mediator than this code works and i can retrieve the mediator.

Am i forgetting something special for a proxy?

Thanks in advance
Pages: [1]