RE: Dateformat

2011-03-25 Thread Jim O'Callaghan
Please ignore - I changed this to use the tapx datepicker instead and found the problem wasn’t the locale setup – I have a locale switcher in place and when the locale is changes to ex. ‘es’ the date format is correct for both the standard date field / date picker return value. The locales I am

Re: Dateformat

2011-03-25 Thread dragan.sahpas...@gmail.com
IDK of there is an easier way, but you can make new DisplayBlockContribution only for Date.class and format the date as you like. Cheers, Dragan Sahpaski On Fri, Mar 25, 2011 at 1:39 PM, Jim O'Callaghan wrote: > Can anyone advise on whether there is a global format setting that can be > applie

Re: DateFormat in contrib:table

2007-02-22 Thread Daniel Jue
Here is the link. http://weblogs.java.net/blog/johnreynolds/archive/2004/10/learn_by_teachi_1.html It worked great for me. On 2/22/07, Michael Siebert <[EMAIL PROTECTED]> wrote: Hi All, I want to format the date values in a contrib:table colum. The actual output is "-mm-dd" and I want to

Re: DateFormat in contrib:table

2007-02-22 Thread Daniel Jue
I have code that can do this, but it is pretty involved. You may want to look at the Tapestry Tables demo war file. It has a tutorial page that uses a custom column, with it's own column comparator. In my code I have a backend 2d array of the data in it's raw format. (usually string and doubles)