Hello,
I'm trying to bind the returned results from a ComboBox to a url in
HTTPService. Flex returns a "Value must be quoted" error with this
statement:
<mx:HTTPService id="productService" url="{appName.SelectedItem.url}"
result="productServiceResultHandler(event)"
showBusyCursor="true"/>
Here's my code for theComboBox.
<mx:ComboBox id="appName" styleName="glass" width="161"
change="productService.send();">
<mx:dataProvider>
<mx:Array>
<mx:Object label=â12.5V HF SSBâ
url=âdata/125-hf-ssb.xml?filter=12vhgssbâ/>
<mx:Object label=â28V HF SSBâ
url=âdata/28v-hf-ssb.xml?filter=28vhfssbâ/>
<mx:Object label=â50V HF SSBâ
url=âdata/50v-hf-ssb.xml?filter=50vhfssbâ/>
<mx:Object label=âCell Basestationâ
url=âdata/cell-basestation.xml?filter=cellbasestationâ/>
<mx:Object label=âCellular Mobileâ
url=âdata/cellular-mobile.xml?filter=cellularmobileâ/>
<mx:Object label=âDME TACANâ
url=âdata/dme-tacan.xml?filter=dme-tacanâ/>
</mx:Array>
</mx:dataProvider>
</mx:ComboBox>
Can't seem to find much in the docs about this, except that "url" must
be quoted. What am I doing wrong? Thanks in advance.