Re: T5.0.11 t:output doesn't work for DateFormat

2008-06-10 Thread Konstantin
Works like a charm! Thanks! Filip S. Adamsen-2 wrote: > > Try instead - that > is, just the property name instead of an expansion. The expansion will > expand to a String, which won't format correctly. > > -Filip > -- View this message in context: http://www.nabble.com/T5.0.11-t%3Aoutput-

Re: T5.0.11 t:output doesn't work for DateFormat

2008-06-10 Thread Filip S. Adamsen
Try instead - that is, just the property name instead of an expansion. The expansion will expand to a String, which won't format correctly. -Filip On 2008-06-10 19:21, Konstantin wrote: in markup: in page class: private Format testFormat = DateFormat.getInstance(); private Date cu

T5.0.11 t:output doesn't work for DateFormat

2008-06-10 Thread Konstantin
in markup: in page class: private Format testFormat = DateFormat.getInstance(); private Date currentDate = new Date(); public Format getTestFormat() { return testFormat; } public Date getCurrentDate() { return currentDate; } result: org.apache.tapes