My resultFormat="e4x".
--- In [email protected], "Tracy Spratt" <[EMAIL PROTECTED]> wrote:
>
> This almost always means that you have not set the resultFormat
property
> on the RPC call. The default is Object. This causes Flex to
convert
> the xml into a nested dynamic object structure. The conversion
process
> is attempting to be smart, and failing.
>
>
>
> Set resultFormat="e4x" and it will leave your xml as XML. You will
need
> to tweak your reference expressions after doing this.
>
>
>
> Tracy
>
>
>
> ________________________________
>
> From: [email protected]
[mailto:[EMAIL PROTECTED] On
> Behalf Of oneworld95
> Sent: Tuesday, October 21, 2008 9:06 AM
> To: [email protected]
> Subject: [flexcoders] Re: XML data problem
>
>
>
> Flex is thinking the value is a Boolean (where 1 = true and 0 =
> false). You might be able to use a labelFunction to return a string
> value back to the column or a formatter for that column.
>
> --- In [email protected] <mailto:flexcoders%
40yahoogroups.com>
> , "markgoldin_2000"
> <markgoldin_2000@> wrote:
> >
> > When I am setting an XML dataProvider for a DG and that xml has 1
as a
>
> > value the DG shows true instead of 1. Why that's happening?
> >
> > Thanks
> >
>