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 --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/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