I've searched the docs and the list, but I can't for the life of me
find out how to submit the value of a multiple-select list to an
action page.

The best way I know to explain the problem is to put it in terms of
plain old HTML. Suppose you have a multiple select list on an HTML form:

<select multiple value="items">
<option>Wallet</option>
<option>Belt</option>
<option>Hat</option>
</select>

If the user selects wallet and hat, the following will be submitted to
the form's action page:

?items=Wallet&items=Hat

Quetion: How do I emulate this when calling an action page via a Flex
HTTPService object? 

This is what I've tried so far: 

1. Create a Flex List object with allowMultipleSelection = true
2. In the ActionScript that invokes the HTTPService, I put something
like the following:

var params:Object = new Object();
params.items = listControlInstance.selectedItems;
httpServiceInstance.send(params);

What Flex submits to the action page is the following:

?items=Wallet,Hat

...which breaks the action page. 
What is the correct way of doing this?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/2pRQfA/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to