Re: svn commit: r797996 - in /tapestry/tapestry5/trunk: src/site/apt/guide/ tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ tapestry-core/src/main/java/org/apache/tapestry5/services/

2009-07-30 Thread Igor Drobiazko
This was my first idea but it didn't work for display blocks. The date block makes use of Output component, whose value parameter is of type Object. In this case the automatic coercing from Calendar to Date fails. The result is that DateFormat is not able to format the given value. This means that

Re: svn commit: r797996 - in /tapestry/tapestry5/trunk: src/site/apt/guide/ tapestry-core/src/main/java/org/apache/tapestry5/corelib/pages/ tapestry-core/src/main/java/org/apache/tapestry5/services/

2009-07-30 Thread Howard Lewis Ship
I wonder if this could have been accomplished more easily by a) mapping java.util.Calendar to data type "date" b) providing TypeCoercions to and from Calendar and Date I suspect that would have worked with a bit less code. On Sun, Jul 26, 2009 at 3:32 PM, wrote: > Author: drobiazko > Date: Sun