how to write bulk of data into xml file from backend and i want to bind the xml file into list?
-
28-09-2019 - |
Question
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..
Solution
<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
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow