Speer, Dustin wrote:

The Tree displays properly (takes the string XML result from the web service and converts it to XML and renders it). However, the documentation says that a tree should be editable by hitting the Enter key when the node is selected. However, this doesn’t work for me. Is it because I am populating from a web service?

I don't think so. This pretty much works for me:

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml";>

<mx:Script>
function editNode(e) {}
function changeNode(e) {}
</mx:Script>

<mx:HTTPService url="http://www.markme.com/mchotin/index.rdf";
id="w" resultFormat="object" showBusyCursor="true" />

<mx:Tree dataProvider="{w.result}" load="w.send()" change="changeNode(event)"
editable="true" cellEdit="editNode(event)" labelField="title"/>


</mx:Application>

Maybe you should hit ENTER a little harder? :P

Manish




Reply via email to