Hi Tom,


Problem solved. The problem was related when assigning values to the CFC VO.

 

The UID field (and all other numeric fields) was of type numeric and I was assigning a string to it. I was expecting that the value was converted to a numeric type in CF but the cf adapter was sending XXXXX.0 to the client. Flash was getting the value as XXXXX so it couldn’t match and update the correct row.

 

Using  <cfset myVO.setUID( javacast( ‘int’, myWebService.result.getUID() ) )> solved the problem.

 

Thanks,

 

João Fernandes


From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Tom Ruggles
Sent: quinta-feira, 12 de Outubro de 2006 16:08
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: [FDS] DataGrid not updated when ArrayCollection is updated from sync

 

Hi João,

I am unable to reproduce this behavior using assorted methods of
inserting the new item. Can you provide more details on exactly how
you are inserting, what your object looks like, how your destination
is configured, etc? I paid close attention to this specific
scenario throughout the 2.0 development cycle so I am very curious
how to reproduce it.

Thank you.
Tom Ruggles
FDS QA

--- In [EMAIL PROTECTED]ups.com, João Fernandes
<joaopedromartinsfe[EMAIL PROTECTED]..> wrote:
>
> Hi there,
>
>
>
> I have a datagrid binded to an ArrayCollection which is filled by
a DS
> destination.
>
> When I add an item and commit, my datagrid ID column doesn't get
updated but
> if I check the value in my ArrayCollection, the ID property is
correctly
> updated.
>
>
>
> If I sort my datagrid, the new value shows up.
>
>
>
> This doesn't happen to clients who are connected to the same
destination.
> They see the right behaviour.
>
>
>
> Any thoughts?
>
>
>
> Thanks,
>
>
>
> 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
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to