tigomark
12-17-2007, 08:17 PM
Ok I got a couple of questions on how to populate an XMLList dynamically from login information. Currently I have two access request to my server. once at login
<mx:HTTPService id="login_user" result="checkLogin(event)" showBusyCursor="true" method="GET" url="https://mysite.net/interface.php" >
and the xmlList
<mx:XML id="tempXML" source="http://mysite.net/interface.php?username=admin&password=pass&custome r=63&action=showopen&operation=defects&format=xml& critcal=both" />
This gives me access to my
<mx:TileList dataProvider="{tempXML.defect.asset}"
width="344" backgroundColor="#000000" color="#ff0000" fontSize="27" borderColor="#000000" columnWidth="300" rowHeight="50" themeColor="#808080" fontWeight="bold" allowMultipleSelection="true" id="tilelist1" height="0" y="202" x="178"/>
<mx:XMLListCollection id="defectXMLList" source="{tempXML.defect}" />
Now knowing that my login is successful is there a way to tie these two services together or that once they are logged is the customer, username, and password will auto populate the xml so that I don't have to set up one app
for each customer but it can be set up in one area any everyone can have access to the one area?
Thanks
tigomark
<mx:HTTPService id="login_user" result="checkLogin(event)" showBusyCursor="true" method="GET" url="https://mysite.net/interface.php" >
and the xmlList
<mx:XML id="tempXML" source="http://mysite.net/interface.php?username=admin&password=pass&custome r=63&action=showopen&operation=defects&format=xml& critcal=both" />
This gives me access to my
<mx:TileList dataProvider="{tempXML.defect.asset}"
width="344" backgroundColor="#000000" color="#ff0000" fontSize="27" borderColor="#000000" columnWidth="300" rowHeight="50" themeColor="#808080" fontWeight="bold" allowMultipleSelection="true" id="tilelist1" height="0" y="202" x="178"/>
<mx:XMLListCollection id="defectXMLList" source="{tempXML.defect}" />
Now knowing that my login is successful is there a way to tie these two services together or that once they are logged is the customer, username, and password will auto populate the xml so that I don't have to set up one app
for each customer but it can be set up in one area any everyone can have access to the one area?
Thanks
tigomark