I was trying to port the cairgormflexstore to flex 2 and had some problems with data binding, for example:
In flex 1.5 you could bind to model.shoppingCart.totalProductPrice, now in Flex 2 you get this warning: Data binding will not be able to detect assignments to totalProductPrice. And the binding won't work. In order to solve this problem I had to change the come of the ShoppingCart class like this: ModelLocator.getInstance().totalProductPrice = totalProductPrice; And then bind to model.totalProductPrice in my views to update that property. It would be nice to see a new advanced sample like the cairgormflexstore for Flex 2 to see how to properly handle this migration issues. Hope to get some feedbacks. ------------------------ Yahoo! Groups Sponsor --------------------~--> See what's inside the new Yahoo! Groups email. http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM --------------------------------------------------------------------~-> -- 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 <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

