[flexcoders] Re: Error: Unknown Property: 'constructor'. when using LCDS

2009-07-13 Thread valdhor
Is this a problem only when using LCDS?

Is this a Flex error or a coldfusion error?

If it is a Flex error it has got to be with the Datagrid control.

If it is a Coldfusion error, then, sorry, I can't help you but there should be 
others around who can.



--- In flexcoders@yahoogroups.com, postwick p...@... wrote:

 I realize this is an old thread I'm digging up, but I am running into the 
 same problem.  I did the artists example from :
 
 http://www.adobe.com/devnet/coldfusion/articles/data_app.html
 
 The grid fills just fine but when I try to edit a cell I get:
 
 Error: Unknown Property: 'constructor'
 
 I looked around online and found others getting this error but no solutions.
 
 Thanks,
 Paul
 
 --- In flexcoders@yahoogroups.com, Jeff Vroom jvroom@ wrote:
 
  Do you know ActionScript your objects from CF land are getting converted
  to?Typically they come across as Objects unless you are mapping a
  strong type in which case you need to mark those classes with [Managed].
  This appears to be something which does not extend Object - like maybe
  XML?   
  
   
  
  If you can't tell, adding mx:TraceTarget/ in MXML and using the debug
  player you can get a flashlog.txt which should have that information
  (feel free to send that to me directly offlist).   
  
   
  
  We use the constructor property in some cases to determine which class
  we are dealing with but there are other ways we could do that.  
  
   
  
  Jeff
  
   
  
  
  
  From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
  Behalf Of Alexander Tsoukias
  Sent: Saturday, March 29, 2008 9:53 AM
  To: flexcoders@yahoogroups.com
  Subject: [flexcoders] Error: Unknown Property: 'constructor'. when using
  LCDS
  
   
  
  The fill method works great using RTMP and it fills a datagrid.
  
  When i make the datagrid editable and change a value, It returns this
  error: Error: Unknown Property: 'constructor'.
  
  The backend is connected with coldfusion CFCs. Again the fill method
  works great.
  
  Thanks,
  Alexander
 





[flexcoders] Re: Error: Unknown Property: 'constructor'. when using LCDS

2009-07-12 Thread postwick
I realize this is an old thread I'm digging up, but I am running into the same 
problem.  I did the artists example from :

http://www.adobe.com/devnet/coldfusion/articles/data_app.html

The grid fills just fine but when I try to edit a cell I get:

Error: Unknown Property: 'constructor'

I looked around online and found others getting this error but no solutions.

Thanks,
Paul

--- In flexcoders@yahoogroups.com, Jeff Vroom jvr...@... wrote:

 Do you know ActionScript your objects from CF land are getting converted
 to?Typically they come across as Objects unless you are mapping a
 strong type in which case you need to mark those classes with [Managed].
 This appears to be something which does not extend Object - like maybe
 XML?   
 
  
 
 If you can't tell, adding mx:TraceTarget/ in MXML and using the debug
 player you can get a flashlog.txt which should have that information
 (feel free to send that to me directly offlist).   
 
  
 
 We use the constructor property in some cases to determine which class
 we are dealing with but there are other ways we could do that.  
 
  
 
 Jeff
 
  
 
 
 
 From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On
 Behalf Of Alexander Tsoukias
 Sent: Saturday, March 29, 2008 9:53 AM
 To: flexcoders@yahoogroups.com
 Subject: [flexcoders] Error: Unknown Property: 'constructor'. when using
 LCDS
 
  
 
 The fill method works great using RTMP and it fills a datagrid.
 
 When i make the datagrid editable and change a value, It returns this
 error: Error: Unknown Property: 'constructor'.
 
 The backend is connected with coldfusion CFCs. Again the fill method
 works great.
 
 Thanks,
 Alexander