Hi David, don't use js:RemoteObject, use mx:RemoteObject from MXRoyale. The emulation version is far more complete while the first one still requires more work to be done. mx:RemoteObject can be considered 96% or so completed ;)
About the timing issue, please first use mx version and then we could see if the problem continues. Also, think that we have "Virtual" layout versions, although Jewel VirtualDataGrid is still not complete. If you don't need things like item renderer editing or column ordering, I always recommend to use a simple Jewel List or VirtualList with an item renderer and a header, since is far simpler and performant. In Flex we used to overuse DataGrids. HTH El lun, 8 feb 2021 a las 16:54, David Slotemaker de Bruine (< [email protected]>) escribió: > Hey Guys, > > I have managed to get a Remote Object Call working to our current BlazeDS > backend using Jewel UI and js:RemoteObject, Great work getting that done! > > Some questions: > > I have make the call twice, the first one always returns a Error message > with the fault string "Detected duplicate HTTP-based FlexSessions, > generally due to the remote host disabling session cookies. Session cookies > must be enabled to manage the client connection correctly.". I also noticed > this event doesn't map the same way to the Fault event in Flex. The Fault > event in Flex has a faultString and rootCause property but the Royal > version doesn't have those 2 properties. How can I avoid the double call > and get the faultString property to show to the user? > > The drawing of the result to the datagrid takes a massive amount of time, > the result is 500 object long, but it takes upwards of 40 seconds to fill > the datagrid, its mxml is: > > <j:DataGrid id="dg" width="1000" height="300"> > <j:columns> > <j:DataGridColumn > label="Codigo" dataField="notesCliente" columnWidth="100"/> > <j:DataGridColumn > label="Nombre" dataField="nombre" columnWidth="200"/> > <j:DataGridColumn > label="Poblacion" dataField="poblacionNombre" columnWidth="200"/> > <j:DataGridColumn > label="GPS" dataField="direccionLatLong" columnWidth="100"/> > <j:DataGridColumn > label="Mail" dataField="mail" columnWidth="100"/> > <j:DataGridColumn > label="Tlfno" dataField="tlfno" columnWidth="100"/> > <j:DataGridColumn > label="Cod.Admin" dataField="adminCliente" columnWidth="100"/> > </j:columns> > </j:DataGrid> > > Anything I can do to speed it up? > > Cheers, > > David > > > > > -- Carlos Rovira Apache Member & Apache Royale PMC *Apache Software Foundation* http://about.me/carlosrovira
