--- In flexcoders@yahoogroups.com, "dval823" <[EMAIL PROTECTED]> wrote:
To further clarify, I can edit the <mx:operation> tag to add items:

<mx:operation name="writeNotAttended">
                         <mx:request>
                              <notattended>
                                   <item>100</item>
                                                                   
<item>200</item>
                                                                   
<item>300</item>
                              </notattended>
                         </mx:request>
                    </mx:operation>


and these are passed just fine.  But I thought Coldfusion could read
Flex structure and vise-versa???

> I have a data gird that allows for multiple selections:
> 
> <mx:DataGrid id="dgNotAttended" x="605" y="285" width="172"
> height="{dgInt.height}" dataProvider="{wsInt.getNotAttended.result}"
>                                       enabled="{dgInt.selectedIndex != 
> undefined}"
> multipleSelection="true">
>                <mx:columns>
>                     <mx:Array>
>                          <mx:DataGridColumn headerText="Name"
> columnName="NAME" />
>                     </mx:Array>
>                </mx:columns>
> </mx:Datagrid>
> 
> with a corresponding button that should trigger a web service call:
> 
>   <mx:Button x="605" y="480"  label="Add"
> enabled="{dgNotAttended.selectedIndex != undefined}"
> click="wsInt.writeNotAttended.send()"/>
>             
> web service call:
> 
> <mx:WebService
> wsdl="http://localhost:8500/trainingcfc/inttraining.cfc?wsdl";
id="wsInt">
>                     <mx:operation name="writeNotAttended">
>                          <mx:request>
>                               <notattended>
>                                    {dgNotAttended.selectedItems}
>                               </notattended>
>                          </mx:request>
>                     </mx:operation>
> 
> Obviously I am doing something wrong because I get an error message
> that no deserializer is available for the anyType.
> 
> So, how do you bind a Flex array to a web service parameter?





------------------------ Yahoo! Groups Sponsor --------------------~--> 
<font face=arial size=-1><a 
href="http://us.ard.yahoo.com/SIG=12hu4qel8/M=362335.6886445.7839731.1510227/D=groups/S=1705007207:TM/Y=YAHOO/EXP=1124981604/A=2894361/R=0/SIG=13jmebhbo/*http://www.networkforgood.org/topics/education/digitaldivide/?source=YAHOO&cmpgn=GRP&RTP=http://groups.yahoo.com/";>In
 low income neighborhoods, 84% do not own computers. At Network for Good, help 
bridge the Digital Divide!</a>.</font>
--------------------------------------------------------------------~-> 

--
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