Re:Re: [flexcoders] About baselistdata class issue

2010-08-04 Thread j2me_soul
Thanks Oleg. That's the problem!


At 2010-08-04 22:42:18,"Oleg Sivokon"  wrote:
 

Do you expect value.item to be an XML with a single root node? If so, trace() 
isn't going to print out the contents of that node. Use 
trace(value.item.toXMLString()) instead.


Re: [flexcoders] About baselistdata class issue

2010-08-04 Thread Oleg Sivokon
Do you expect value.item to be an XML with a single root node? If so,
trace() isn't going to print out the contents of that node. Use
trace(value.item.toXMLString()) instead.


[flexcoders] About baselistdata class issue

2010-08-04 Thread j2me_soul
the data is XML. I debug a DataGridListData coverted from listdata has a "item" 
property.

But when trace the "item" is always empty. In the debug perspertive window I 
can see that property.

this is my code:

 

  override public function set listData(value:BaseListData):void{
var dgListData:Object = value as DataGridListData;

   
trace(dgListData.item.); // always empty ~!
   
super.listData = value;
  }

 <>