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 / Getting Started / Cannot receive the same notification with multiple mediators on: January 14, 2009, 07:33:25
I have two mediators that should receive the same notification. Mediator A always receives the notification. Mediator B only receives the notification if I remove the notification from the function listNotificationInterests() in Mediator A.

Strange thing is that it worked a few hours ago...

What kind of error can I have made?

Thanks,
Eugene
2  Announcements and General Discussion / Getting Started / Where to store 'current language'? on: January 05, 2009, 04:04:21
Hi,

I'm busy with my first PureMVC application and I have difficulties with modeling my data. I'm modifying the Login example using WebOrb to get started. In that example, an ApplicationProxy is used that stores the current state of the application in a local variable. It provides get/set functions to access the state.

1. Is it a good idea to use the ApplicationProxy to store the current language (English, German etc.) as well? Or is it wise to have a LanguageProxy that holds all possible languages and keeps track of the current language?

2. Furthermore, I don't fully understand the data object in proxies. Why can't you use public variables (or getter and setter functions) in proxies?

Thanks.  Hope someone can help me with these basic questions.

Eugene
Pages: [1]