9 Feb 2009 7:41 AM #1
I am using a Grid which contains a column that has its DateTimeFormat set to DateTimeFormat.getMediumDateTimeFormat(). The input for this column is a java.util.Date that has been obtained from a GWT RPC service.
The problem I'm experiencing is that the Grid fails to render using this ColumnConfig. When using DateTimeFormat.getMediumDateFormat() instead of DateTimeFormat.getMediumDateTimeFormat(), it does render. It seems it fails every time I want to display the time in the column too...
Am I using this incorrectly, has something gone wrong during (de)serializing of the Date object, or is there some kind of bug in the Grid? I've done some searching, but came up empty handed.
9 Feb 2009 8:32 AM #2
Somewhere in my code a java.sql.Date slipped in where a java.util.Date was intended :S