I am trying to get remoteObjects up and running, talking to a FDS.

I use mxml binding, and when I actually make the send() call to my
remote object it generates an error "send failed". It does not appear
that the message is ever getting to the server because there is no
traffic on the java console. If it was a bad destination or method
name I would think that would require asking the server, which it
doesnt seem to do.

The error generated is just "send failed".

So I suspect I am doing something bone headed on the client side but
dont know what. Below is the failing app.

Any help appeciated.

Hank


<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"; layout="absolute">

        <mx:Script>
                <![CDATA[
                        import mx.controls.Alert;
                ]]>
        </mx:Script>

        <mx:RemoteObject
                id = "chartTemplate"
                destination = "charts">
                
                <mx:method
                        name="findCharts"
                        result = "dgChartTemplate.dataProvider=event.result"
                        fault = "Alert.show(event.fault.faultstring,'Error');" >
                                <mx:arguments>
                                        <chartTemplateID>
                                                1
                                        </chartTemplateID>
                                </mx:arguments>
                </mx:method>
        </mx:RemoteObject>
        
        <mx:DataGrid x="20" y="80" id="dgChartTemplate" width="400">
                <mx:columns>
                        <mx:DataGridColumn headerText="c1" dataField="name"/>
                        <mx:DataGridColumn headerText="c1" 
dataField="time_interval"/>
                </mx:columns>
        </mx:DataGrid>
        
        <mx:Button label="get chart data"
                click = "chartTemplate.findCharts.send()"/>
</mx:Application>


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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