[Arp] Another ModelLocator Question
colin.light at btopenworld.com
Wed Dec 20 05:37:24 PST 2006
I'm (as ever) hoping someone can help me out with an ARP issue. I've been using arp for a few months now and just when I think I'm get it something else comes along and I question my own understanding :(
I've been looking at the ModelLocator pattern, I have read previous post's about this and found some sample files although it does seem a little confusing. I downloaded the arpx classes http://www.herrodius.com/upload/arp_extensions.zip which contain quite a comprehensive version with databinding etc, I've also seen and much simpler single class version which I have been trying to use.
I have a number of ArpForms which compose my views. Within these forms are other Arpforms which effectively are like components.
What I'm struggling with is how to populate mx components in my component forms, is it good practice to import my modelLocator class and then have an update method which gets called from the main application class when the model gets populate or create a listener on each form for update events from the modelLocator?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Arp