Nothing happens. I got it working if i cast the evt.result to ArrayCollection but when i cast it, in the flex debugger i see the result.events as an nativeObject not VO Objects.
Best, Berkay UNAL berkayu...@gmail.com On Mon, Jan 12, 2009 at 18:06, Alex Harui <aha...@adobe.com> wrote: > What happens when you use labelField="courseName"? > > > > *From:* flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] *On > Behalf Of *Berkay Unal > *Sent:* Sunday, January 11, 2009 9:24 AM > *To:* flexcoders@yahoogroups.com > *Subject:* [flexcoders] VO and LabelField Problem > > > > Hi, > > > > When trying have dataprovider for a list control using remoting with VO i > cannot set the label of the control with the labelField = "courseName". > > > > How to achieve this, guess i am missing smthing. Any help appreciated much > > > > result Array (@1a522159) > > > > [0] com.abc.courseList.VO.CourseVO (@1ee40449) > > courseID 1 > > courseName "Course1" > > [1] com.abc.courseList.VO.CourseVO (@1ee404c1) > > courseID 2 > > courseName "Course2" > > [2] com.abc.courseList.VO.CourseVO (@1ee40719) > > courseID 3 > > courseName "Course3" > > length 3 > > > > Best > > Bunal > > > > >