If you are using the JDK date formatters, you don't use one object because
they are not thread safe. You create them as you go.

As an alternative, you might create a date formatting service that you can
inject to all your pages and use. This could be threaded to deal with the
date format thread safety issues.


Richard 
-----Original Message-----
From: Adrian Davis [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 08, 2006 8:30 AM
To: Tapestry users
Subject: Date format

I'd like to create a particular dateformat once object and use it
throughout
my application without adding it to every page.  What's the best way to
do
this?

- Adrian


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to