Title: ModelLocator

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: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha
Sent: Tuesday, August 23, 2005 11:30 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] ModelLocator

 

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




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to