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.

Reply via email to