RE: Re: Generic application wide formats

2006-07-17 Thread Murray Collingwood
What you have suggested is in fact what I am already doing for the date entry / update. I'm also having to use a special method in my .java file to retrieve the format whenever I want to display a date in this format. My problem is that this is a significant amount of coding required on each

Re: Generic application wide formats

2006-07-17 Thread Murray Collingwood
As you say... not pretty. mc On 17 Jul 2006 at 14:59, Shing Hing Man wrote: > It is not very pretty. You could try the following. > > > > > > ognl:new > java.text.SimpleDateFormat(getMessages().getMessage('format_date')) > > > > > Shing > --

RE: Re: Generic application wide formats

2006-07-17 Thread Kristian Marinkovic
this could help: http://www.nabble.com/Dynamic-translators-tf1229928.html#a3255867 define your formatter as a bean and define the pattern using message:date_pattern greetings, kris Shing Hing Man

Re: Generic application wide formats

2006-07-17 Thread Shing Hing Man
It is not very pretty. You could try the following. ognl:new java.text.SimpleDateFormat(getMessages().getMessage('format_date')) Shing --- Murray Collingwood <[EMAIL PROTECTED]> wrote: > Hi all > > I'm a little new to Tapestry so I may

Generic application wide formats

2006-07-17 Thread Murray Collingwood
Hi all I'm a little new to Tapestry so I may be missing something, happy for anybody to point me in the right direction. I'm currently running Tapestry 4.0.2 I want to standardise my date format for the entire application to dd/MM/. I decided that the best place to do this while allowin