Do you have the
[RemoteClass(alias="your.fully.qualified.case.sensitive.VO")] correctly
registered on the ActionScript VO class? Are you sure you have the case of the
package and class name exactly the same as the CFC VO? ActionScript 3 is case
sensitive, even for package names (i.e. directory names in the path to your
CFC). From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of João Fernandes Sent: Wednesday, March 22, 2006 11:17 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Coldfusion + FDS 2 DataService multiple problems Hi there, After some work I managed to get CF + FDS 2
under the same context root. Here are my problems: 1)
When trying to get paged records
from a destination, I always get the full result even when setting pageSize in
the client-side . 2)
Sometimes when editing directly
the ArrayCollection from the DG I get the following error Error during
update: the argument oldbean passed to function update() is not of type
pt.cofina.intranet.messaging.clientes. If I debug it,
my ArrayCollection is filled with mx.data.ManagedObjectProxy Objects instead of
clientes (my VO).
My assembler and all related objects were generated by the RDS wizard. Am I
missing something? My As Code: ds = new
DataService("clientes"); ac = new
ArrayCollection() ds.autoCommit = true; ds.pageSize = 200; ds.fill(ac);
Here is my destination
definition:
<destination
id="clientes">
<adapter
ref="coldfusion-dao"/>
<channels>
<channel
ref="cf-dataservice-rtmp"
/>
</channels>
<properties>
<metadata>
<identity
property="clienteid"/>
</metadata>
<network>
<session-timeout>0</session-timeout>
<paging
enabled="true"
size="200"/>
<throttle-inbound
policy="ERROR"
max-frequency="500"/>
<throttle-outbound
policy="REPLACE"
max-frequency="500"/>
</network>
<server>
<assembler>
<component>pt.cofina.intranet.messaging.clientesAssembler</component>
<hostname>localhost</hostname>
<access>
<method-access-level>remote</method-access-level>
</access>
<property-case>
<force-cfc-lowercase>false</force-cfc-lowercase>
<force-query-lowercase>false</force-query-lowercase>
<force-struct-lowercase>false</force-struct-lowercase>
</property-case>
</assembler>
<fill-method>
<name>fill</name>
</fill-method>
<sync-method>
<name>sync</name>
</sync-method>
<get-method>
<name>get</name>
</get-method>
<count-method>
<name>count</name>
</count-method>
</server>
</properties>
</destination>
João
Fernandes -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [flexcoders] Coldfusion + FDS 2 DataService multiple probl... João Fernandes
- RE: [flexcoders] Coldfusion + FDS 2 DataService multi... Peter Farland