how to write bulk of data into xml file from backend and i want to bind the xml file into list?

StackOverflow https://stackoverflow.com/questions/2667109

문제

I want to write the bulk of data into xml file ,the data coming from the backend(mysql) using cgi by httpservice, read the xml file and bind it into list... can anyone send the sample code for this?

Thank's in advance..

도움이 되었습니까?

해결책

<mx:HTTPService url="backend-url.cgi" id="service"/>
<mx:List dataProvider="{service.lastResult.yourElementName}"/>

You should also

  • Call service.send() from the Application's creationComplete handler
  • Specify the labelField, dataField etc for the List as applicable
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top