Hi Dapeng,
Consider adding the message format binding prefix to your application.
http://wiki.apache.org/tapestry/Tapestry5HowToAddMessageFormatBindingPrefix
It does what you want and it's easy to localize the date format.
-Filip
Dapeng skrev:
hi guys
i am using expansion to output a Date object like
Your last login: ${lastLoginDate}
but how to format it ?? currently it gives the whole string as Wed Dec
12 18:36:38 SGT 2007
how to change it to like dd/mm/yyyy???
regards
---------------------------------------------------------------------
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]