|
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 YAHOO! GROUPS LINKS
|
- [flexcoders] Coldfusion + FDS 2 DataService multiple probl... João Fernandes
- RE: [flexcoders] Coldfusion + FDS 2 DataService multi... Peter Farland

