"Alert.show(dataXML.toString());"

But always use "toXMLString()" to show xml. 

Tracy

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Corey Smaller
Sent: Wednesday, December 12, 2007 3:01 PM
To: [email protected]
Subject: [flexcoders] Re: HTTPService - datagridcolumn returning object
Object when there is a null va

 

if using E4x resultFormat you have to call the parent node in the
assignment
like this:
private function blah(event:ResultEvent) : void
{
//dataXML is an XMLList
dataXML = (event.result.parentnode);
//alert should show your nodes
Alert.show(dataXML.toString());

}
good luck!

--- In [email protected] <mailto:flexcoders%40yahoogroups.com>
, "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Which resultFormat are you using?
> 
> 
> 
> ________________________________
> 
> From: [email protected] <mailto:flexcoders%40yahoogroups.com>
[mailto:[email protected] <mailto:flexcoders%40yahoogroups.com>
] On
> Behalf Of its_llpj
> Sent: Wednesday, December 12, 2007 7:57 AM
> To: [email protected] <mailto:flexcoders%40yahoogroups.com> 
> Subject: [flexcoders] HTTPService - datagridcolumn returning object
> Object when there is a null value
> 
> 
> 
> Hello,
> 
> I'm using a HTTPService to call an XML file and when I render an empty
> field the result is [object Object]. I've tried checking the length of
> the field inside the row as it comes in, but no luck. I also tried
> checking for whitespace, but the same result. I would like to display
> an empty datagridcolumn if the value is empty in the XML instead of
> object Object.
> 
> Thanks in advance!
>

 

Reply via email to