Re: T5: Formatting date inside loop on template

2008-01-25 Thread Marcus
Hi Joshua, try OutputLocale. http://wiki.apache.org/tapestry/Tapestry5OutputLocaleNumber Marcus

Re: T5: Formatting date inside loop on template

2008-01-25 Thread Chris Lewis
Joshua, You may have already found a solution to this, but in case you haven't I'll point out the DateFormat component (http://code.google.com/p/gc-tapestry-components/wiki/DateFormat). In your case you'd use it like: format="dd/MM/"/> The "format" parameter takes a format as accepted

T5: Formatting date inside loop on template

2008-01-13 Thread Joshua Jackson
I'm trying to format a date field that is inside a loop as such: Template: Page class: private SimpleDateFormat dateFormat = new SimpleDateFormat("dd/MM/"); public SimpleDateFormat getDateFormat() { return dateFormat; } But I receive this error: #