Hey Gang,

Here is the deal as I understand it.  In order for list based components to visually respond correctly they need to have certain things implemented in the VO in the dataProvider.

At the base level what really needs to happen is that if you value objects are going to be used as the dataProvider for a list based control, they need to implement the IUID interface.  All that really means is you need to import mx.core.IUID and then define your class as "public class implements IUID".  Then have a getter and setter for uid.

I ran into some problems implementing this with objects that were being passed back from ColdFusion, and found that another solution was to just defind your class as dynamic.(thanks Darron)  For me this was a hack and not the best option, but it was the only workaround i could make work.

Anyway, if your value objects implement the IUID interface i think you will see the visual cues i the list work correctly.  I know this was the case for me with lists and dataGrids.

simeon


--
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