This approach also works in Tapestry 3.

Joel Charlesworth wrote:

Hi Dan,

If you're using the Tapestry 4 Insert component, there is a 'format' parameter you can supply. The framework documentation site has an example of this: http://jakarta.apache.org/tapestry/tapestry/ComponentReference/Insert.html

I have read the SimpleDateFormat class isn't threadsafe, so you might want to look at FastDateFormat which is part of the Apache Commons-lang library.

Have a good one!

Joel

On 9/19/05, Dan Adams <[EMAIL PROTECTED]> wrote:
How do you guys normally format dates in templates?

--
Dan Adams
Software Engineer
Interactive Factory


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





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

Reply via email to