Why don’t you ask this question on the ARP mailing list? There has been a lot of discussion and examples in the past also regarding some of your questions ..

 

nyls

 


Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Marcelo de Moraes Serpa
Verzonden: dinsdag 18 april 2006 3:14
Aan: [email protected]
Onderwerp: [osflash] Value Objects,ModelLocator and property bindings in ARP/ARPX

 

Hello friends,

I need some help on ARP,ARPX, ModelLocator and Value (Transfer) Objects...

I´m in the process of developing a large RIA on the flash platform (flash 7). The project is being built on ARP and ARPX (ARP modifications) and I´m trying to gather the best of both worlds. I´m using both christopher´s ARPX as well as Grant´s one.

I´m trying to adhere to state of the art ARP development techniques such as ModelLocator and ValueObjects - and that´s where things get confusing. I´m using Christopher´s ModelLocator, but I´m having a hard time trying to relate Value Objects objects to it. Also, as I mostly return recordsets from the server (I use AMFPHP), I often typecast the ResultEvent.result to RecordSet (as its often contains an array) - where would be the best place to typecast the objects to its corresponding Value Object? I want to store these objects in the ModelLocator, until here, nice, I just have to use setModel(), but what about the bindings - what if I would need to bind only an Array´s (Recordset stored in the ModelLocator) object´s property (such as UserName) to a textfield.text property? I could not find a way...

Any thoughts and ideas on that would be much appreciated! I really need some directions!

Cheers,

Marcelo.

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to