RE: [flexcoders] Re: [FDS] DataGrid not updated when ArrayCollection is updated from sync

2006-10-12 Thread João Fernandes












Hi Tom,

 

I’m using CF and CF
generated assembler files for my CRUD. I’m in fact replacing  CF inserts/updates/deletes
by SAP webservices calls which do basically the same. 

SAP return all fields as
CHAR and I first thought that was the problem, having a string as the key but
when replacing in my VO (AS3 & CFC) to number the problem persisted. They I
watched for any conflict/message from the dataservice and saw that in fact my
arraycollection was with the true new ID value but the datagrid didn’t
get notified. 

 

If you need any further
information just ask.

 

My destination is: 

 



 

 

 

  

 

 

 

 

    pt.cofina.intranet.service.dataservice.sap.ZREGISTOSAssembler

    request

    true

    intranet

     

     

     

 

    0

   


 





false    

 true

 false




 

 

 

 

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 
[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 
   
 

  




__,_._,___






RE: [flexcoders] Re: [FDS] DataGrid not updated when ArrayCollection is updated from sync

2006-10-13 Thread João Fernandes












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 X.0 to the client. Flash was getting the value as X
so it couldn’t match and update the correct row.

 

Using   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 
[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 
   
 

  




__,_._,___