all groups > macromedia flash flash remoting > july 2004 >
You're in the

macromedia flash flash remoting

group:

RemotingConnector Component with DataSet Componen



RemotingConnector Component with DataSet Componen ptb47
7/16/2004 5:23:04 PM
macromedia flash flash remoting: We have an app written using WebServiceConnectors, These are bound to Datasets,
which in turn are bound to UIComponents. The performance with the WCS is not
good with large recordsets, so I wanted to change them out for the pageable
recordsets available with remoting. Using the RemotingConnector component is
resonable, as it requires very little recoding in the app. The dataset is
required(maybe it's not with the remotingconnector?) because we use
rdbmsResolvers to handle the updates.

The problem is that when I set Flash.Pagesize in the CFC, the first group of
rows are returned, they are in the grid and the dataset, but the dataset gets
loaded with (recordsetsize - flash.pagesize) "dummy" (i.e. empty) rows. But no
calls are ever made to rertieve any more data, so the "dummy" rows are never
filled in as the user scrolls.. I see the info below in the trace window.

Do I need to do something else? I see the recordset has a "setDeliveryMode"
which looks like what I want (set to "fetchall", I think), I just don't know
where the recordset object is in the RemotingConnector Component.

I would say the doc on the RemotingConnector Component stinks, but I can't
because there is none.
Re: RemotingConnector Component with DataSet Componen Tom Muck
7/20/2004 1:14:03 PM
[quoted text, click to view]

I don't think that pageable recordsets work with the connector component.
You will probably have to use ActionScript. There are examples in the docs
using AS. The component basically only saves you a few lines of code and is
probably not worth the effort.


--
--
Tom Muck
author Flash Remoting: The Definitive Guide
http://www.flash-remoting.com/

AddThis Social Bookmark Button