Re: [flexcoders] DateField cellRenderer not working with date as String

2006-07-21 Thread Ralf Bokelberg
Maybe it needs MM/TT/ ? Cheers,Ralf. On 7/21/06, John Buhl [EMAIL PROTECTED] wrote: I stillget this error when I select the date, tab off of the cell, and return back to that cell. Type Coercion failed: cannot convert 04/13/2005 to Date Is there something I am missing here? Here is my

[flexcoders] DateField cellRenderer not working with date as String

2006-07-20 Thread John Buhl
The DateField cellRenderer works great when your date is already a Date object. However, since I am dynamically reading in an XML file the date field comes across as text, so I'm trying to cast it into a Date object before using the cellRenderer component. But it just won't work. Has anyone run

Re: [flexcoders] DateField cellRenderer not working with date as String

2006-07-20 Thread Tom Chiverton
On Thursday 20 July 2006 15:53, John Buhl wrote: field comes across as text, so I'm trying to cast it into a Date object before using the cellRenderer component. But it just won't work. Has What format is the data string in ? Is it one Date can parse itself ? -- Tom Chiverton

Re: [flexcoders] DateField cellRenderer not working with date as String

2006-07-20 Thread John Buhl
Yes. The data can be parsed fine. I think I need somehow to use a Model with my XML so I can massage the data first, and then set the dataProvider to the Model instead of the XML object. Still researching... On 7/20/06, Tom Chiverton [EMAIL PROTECTED] wrote: On Thursday 20 July 2006 15:53,