Maybe its late and just me, but maybe someone can shed some light on the subject. Here is a debug dump of the AgentVO coming back from the server. As you can see, it contains a field called acctList, which is an ArrayList that contains BasicListItem objects.
 
(Typed Object #0 'com.optimal.bluebird.agents.AgentVO')
 acctList = (Array #1)
   [0] = (Typed Object #2 'com.optimal.list.BasicListItem')
     code = "700100"
     _remoteClass = "com.optimal.list.BasicListItem"
     name = "JFG 100"
     id = 0.0
   [1] = (Typed Object #3 'com.optimal.list.BasicListItem')
     code = "66006600"
     _remoteClass = "com.optimal.list.BasicListItem"
     name = "BILLS"
     id = 0.0
 
Now in Flex, if you do something list agent.acctList[0], you get "undefined", however, if you do agent.acctList[0].name, well you get "JFG 100". Now how can the object be undefined, yet its property is set? Also this problem causes the DataGrid to display nothing.
 
So what did I do wrong is the question?
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to