try the outputlocale component in the howtowiki page, it works very well:



dapeng-2 wrote:
> 
> 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]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-T5--How-to-format-java.lang.Date-when-using-expansion-tp14312035p14312705.html
Sent from the Tapestry - User mailing list archive at Nabble.com.


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

Reply via email to