Yup, the DataGrid pretends as if it is displaying some rows of data (ie.: I see a scroll bar appear). But every column/row is blank. Yes, every field in the Java VO has a get/set and a no-args constructor, standard stuff.
 
I can work around the problem, but I shouldn't have too. Anyways, it's all Matt's fault I say :)
 
Dimitrios "Jimmy" Gianninas
RIA Developer
Optimal Payments Inc.
 


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aldo Bucchi
Sent: Wednesday, September 21, 2005 3:14 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Undefined weirdness

mmh, looks like im wrong... you say it is breaking your datagrid?
are you using any getters/setters?

On 9/21/05, Aldo Bucchi <[EMAIL PROTECTED]> wrote:
> looks weird,
>
> just off the top of my head. perhaps a com.optimal.list.BasicListItem
> instance cannot be correctly stringified by your dumping routine.
> try setting a dummy toString() method on the class.
>
> anyway, that would be strange since toString, I believe, is attached
> to Object prototype.
>
>
>
>
> On 9/20/05, Dimitrios Gianninas <[EMAIL PROTECTED]> wrote:
> >
> > 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
> >
> >
> >  Visit your group "flexcoders" on the web.
> >
> >  To unsubscribe from this group, send an email to:
> >  [EMAIL PROTECTED]
> >
> >  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> >
> >    ________________________________
>
>
>
>
> --
> ::::: Aldo Bucchi :::::
> mobile (56) 8 429 8300
>


--
::::: Aldo Bucchi :::::
mobile (56) 8 429 8300


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