Hallo sonar,
leider geht es immer noch nicht.
mein Code sieht so aus:
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
creationComplete="test.send()">
<mx:Script>
<![CDATA[
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import mx.controls.Alert;
[Bindable]
private var myXML:XMLList;
public function handleXML(event:ResultEvent):void {
myXML = event.result as XMLList;
}
public function handleFault(event:FaultEvent):void {
Alert.show(event.fault.faultString, "Error");
}
]]>
</mx:Script>
<mx:HTTPService id="test"
url="http://localhost:8500//test/eon.cfc?METHOD=getAllPERSON" resultFormat="e4x"
method="GET" result="handleXML(event)" fault="handleFault(event)" >
</mx:HTTPService>
<mx:DataGrid dataProvider="{myXML.Person}" height="300" >
<mx:columns>
<mx:DataGridColumn dataField="famname" />
</mx:columns>
</mx:DataGrid>
</mx:Application> ich verstehe nicht was ich falsch mache. ich denke, dass in der
resultFormat="e4x" irgentetwas nicht stimmt.
hat jemand bitte noch eine Idee?
gruß,
Flo