I am assuming I missed the send(). Have you traced or alerted the result in your result handler?
Tracy -----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of cnewroth55 Sent: Thursday, June 02, 2005 12:11 PM To: [email protected] Subject: [flexcoders] prblem with getting dat back from A Remote Object hi all, I am haiving a problem getting my data back from my call to a RO. It looks like (in the network monitor) that the call is working, but I am not getting any data back into my datagrid (where i think i have the binding right). the netowrk monitor shows this: Method: gvs._cfc.gvs_queries.Thrust_Query Parameter 1: name : param1 type : object value[object] : ThrustName[array] : length[Number] : 1 [0][String] : ASMT - Affordable Structures and Mfg. Tech and my code is this: //the call to the RO <mx:RemoteObject id="gvsQueriesWS" endpoint="http://www-stl- 100d.mw.nos.boeing.com/flashservices/gateway" source="gvs._cfc.gvs_queries" > <mx:method name="Thrust_Query" result="onGetThrustList (event.result)" /> </mx:RemoteObject> the scraip call to put everything where is it supposed to go (this is where I think i am doing it wrong) <mx:Script> <![CDATA[ var thrustSelectedData:Object; //array of selected thrust reports var reviewThrusts:Object; //array of thrusts // Store selected items into thrust object function thrustSelect():Void{ thrustSelectedData.ThrustName = thrustCB.selectedItems; } function getThrustQueriesWS(){ //pass the data to the RO gvsQueriesWS.Thrust_Query ({ThrustName:thrustCB.selectedItems}); showSelectedThrusts.text = thrustCB.selectedItems; } // assign returned thrust data to review data model function onGetThrustList(result:Object):Void{ reviewThrusts = result; } the rest of the code (got some extra stuff in this but that doesn't matter, not being used) <mx:HBox> <mx:List dataProvider="{link2Data}" change="getThrustQueriesWS ()" id="thrustCB" multipleSelection="true" width="250" toolTip="Select from this list to get an overview. Hold the control key down to select multiple items." alpha="0" color="#FFFFFF" textRollOverColor="#33FFFF"> </mx:List> <mx:VBox> <mx:HBox> <mx:Text text="Select from below to create your report" width="240" color="#FFFFFF" /> </mx:HBox> <mx:HBox> <mx:Spacer /> <mx:FormItem > <mx:RadioButtonGroup id="reportType" /> <mx:RadioButton label="Summary" groupName="reportType" data="Summary" selected="true" color="#FFFFFF"/> <mx:RadioButton label="Detail" groupName="reportType" data="Detail" color="#FFFFFF"/> </mx:FormItem> <mx:FormItem> <mx:RadioButtonGroup id="reportFormat" /> <mx:RadioButton label="PDF Format" groupName="reportFormat" data="PDF" selected="true" color="#FFFFFF" /> <mx:RadioButton label="Flash Paper Format" groupName="reportFormat" data="FlashPaper" color="#FFFFFF"/> <mx:RadioButton label="Excel Format" groupName="reportFormat" data="Excel" color="#FFFFFF"/> </mx:FormItem> </mx:HBox> <mx:HBox> <mx:Spacer width="55" /> <mx:Button label="Create Report" toolTip="Be sure you selected a report format" click="getPDFReports()" id="createReportButton" /> <mx:Text text="Text" id="showSelectedThrusts" /> </mx:HBox> </mx:VBox> </mx:HBox> <mx:Text text="Thrust Report(s) - Summary Overview" width="229" color="#FFFFFF" /> <mx:Style> myLinkBar.LinkBar { horizontal-gap: 22; stroke-color: #CCCCCC; roll-over-color: #e1e1e1; selection-color: #cccccc; text-rollover-color: #cccccc; disabled-Color: #0099CC; } reportType.RadioButton { fill-colors: #0099ff, #ffffff; } </mx:Style> <!-- Create a LinkBar container to navigate the ViewStack container. --> <!-- Define the ViewStack and the three child containers. --> <mx:DataGrid id="datagrid1" x="0" y="44" dataProvider="{reviewThrusts}" rowCount="10" width="100%" visible="true"> <mx:columns> <mx:Array> <mx:DataGridColumn headerText="PW Thrust" columnName="RTGPRIMARYPWTHRUST" width="125" /> <mx:DataGridColumn headerText="Business Unit" columnName="RTGBOEINGIDSBUSINESSUNIT" width="140" /> <mx:DataGridColumn headerText="Business Program" columnName="RTGBOEINGPROGRAMNAME" width="140" /> <mx:DataGridColumn headerText="Need ID" columnName="RTGCBNEED1IDNUMBER" width="150" /> <mx:DataGridColumn headerText="Title" columnName="RTGELEMENTNAME" width="300" /> </mx:Array> </mx:columns> </mx:DataGrid> </mx:VBox> dose anyone spot what i might be doing wrong that is completly obvious? Craig Yahoo! Groups Links 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/

