|
Exactly. I found after implementing the
ModelLocator, I pretty much wiped out the need for ViewHelpers. The only thing
I use the ViewHelpers for now is setting focus on fields! It makes things a
lot more organized and simplified. You are right though. Just initialize it
in the app init event and you will be able to use it anywhere, anytime. Dustin Mercer From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha Hi All, How does ModelLocator work? I am looking at the
sample store and it makes sense but I am kind of confused. What I have understood so far is that ModelLocator Properties are
bound to views and Commands manipulate ModelLocator
to update views. Is ModelLocator available to the entire application once it
gets initialized on the root level? If it works like that then it means that
I'd hardly ever need ViewLocators??? I can create models, initialize them in
ModelLocator and use them wherever I want in the app????? Thanks Agha Mehdi IDT - eBusiness Program Manager Work: 408.284.8239 Fax: 408.284.2766
|
Title: ModelLocator
- RE: [flexcoders] ModelLocator Mercer, Dustin
- RE: [flexcoders] ModelLocator Mehdi, Agha
- RE: [flexcoders] ModelLocator Shahnavaz Alware
- RE: [flexcoders] ModelLocator Mercer, Dustin

