how to write bulk of data into xml file from backend and i want to bind the xml file into list?
-
28-09-2019 - |
문제
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'screationComplete
handler - Specify the
labelField
,dataField
etc for theList
as applicable
제휴하지 않습니다 StackOverflow