Kleber,
 
Have you tried looking at the traffic in the Net Connection Debugger?  There may be a request that is attempting to be made, but the end point can't be found.
 
HTH,
Allen
 



 
Allen Manning, Technical Director
Prismix Ltd t: +44 (0)870 749 1100 f:+44 (0)870 749 1200 w: www.prismix.com
 
 
 
 
 
 
 
 
 
 


From: Kleber Henrique Voigt Pereira [mailto:[EMAIL PROTECTED]
Sent: 23 February 2005 16:15
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Remote object problem

Hi there,

I make an app that's take data by a coldfusion component. The data is show
in the datagrid, but the busycursor never stop, and the page never conclude
the load of page. Any idea where I'm wrong?

My code:

<mx:RemoteObject id="temposCFC"
endpoint="http://localhost/flashservices/gateway"
source="weiler.intranet.components.controleTempos" showBusyCursor="true">
    <mx:method name="getDesenho" result="oDesenho(event)" />
</mx:RemoteObject>

<mx:Script>
    function oDesenho(){
        temposCFC.getDesenho.send();
    }
</mx:Script>

<!-- ..........................-->
<mx:DataGrid id="dg_desenhos" width="100%" height="100%"
dataProvider="{temposCFC.getDesenho.result}" initialize="oDesenho()" >
    <mx:columns>
        <mx:Array>
            <mx:DataGridColumn columnName="desenho" headerText="Desenho"/>
            <mx:DataGridColumn width="150" columnName="descricao"
headerText="Descrição"/>
            <mx:DataGridColumn width="70" columnName="usinagem"
headerText="Usinagem"/>
            <mx:DataGridColumn width="70" columnName="montagem"
headerText="Montagem"/>
            <mx:DataGridColumn width="40" columnName="total"
headerText="Total"/>
        </mx:Array>
    </mx:columns>
</mx:DataGrid>

Reply via email to