Typically web services return xml and the tree can consume xml directly.

Have you examined the contents of the result object in a debugger?
Perhaps you CAN simply use the result.

Now trees are inherently hierarchical, so if you really have tabular
data, why would you want to use a tree?

If you do need to, the TreeDataProvider class provides an API for
constructing a tree that the Tree control can use.

Tracy

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of cfjedimaster
Sent: Tuesday, July 12, 2005 5:56 PM
To: [email protected]
Subject: [flexcoders] Binding a tree to a web service call and
formatting the result

I'm probably missing the obvious - I can bind a tree to a web service
call, but since thw WS call is returning a query, the result isn't
what I want. Assuming I'm calling method Foo, and Foo has N columns
and I want to use one for the label, one for the id, how would I
handle that?




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives:
http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links



 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to