I managed to add JodaTime into my tapestry 5 application with many
little modifications.I had to create a coercer from dateTime to date
and reverse and just contribute beanDisplayBlock and beanEditBlock to
provide ways of showing and editing jodaTime.In the end it has exactly
the same effect as usi
Pros:
ASL
On 09/05/2012, at 6:34 AM, Luca Menegus wrote:
>> Thanks! By the way, DateFormats not being thread-safe is a huge WTF.
>
> IMHO the whole Date, Calendar and DateFormat stuff are not really usable (or
> at least are REALLY error prone).
> What do you think about implementing first cla
On Tue, 08 May 2012 17:34:29 -0300, Luca Menegus
wrote:
Thanks! By the way, DateFormats not being thread-safe is a huge WTF.
IMHO the whole Date, Calendar and DateFormat stuff are not really usable
(or at least are REALLY error prone).
Date and Calendar are the worst design classes in J
> Thanks! By the way, DateFormats not being thread-safe is a huge WTF.
IMHO the whole Date, Calendar and DateFormat stuff are not really usable (or at
least are REALLY error prone).
What do you think about implementing first class support for joda-time [1] in
tapestry?
Cons:
* That would introd
On Tue, 08 May 2012 15:49:07 -0300, Luca Menegus
wrote:
https://issues.apache.org/jira/browse/TAP5-1926
Thanks! By the way, DateFormats not being thread-safe is a huge WTF.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instr
https://issues.apache.org/jira/browse/TAP5-1926
Thanks,
luca
- Original Message -
> From: "Howard Lewis Ship"
> To: "Tapestry users"
> Sent: Tuesday, 8 May, 2012 8:36:12 PM
> Subject: Re: private final DateFormat in PropertyDisplayBlocks (BUG)
>
Please add an issue in JIRA and this will be fixed. Good catch.
On Tue, May 8, 2012 at 10:03 AM, Luca Menegus wrote:
> Hi,
> in class org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks the
> DateFormat is declared as :
>
> private final DateFormat dateFormat =
> DateFormat.getDateInstanc
Hi,
in class org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks the
DateFormat is declared as :
private final DateFormat dateFormat =
DateFormat.getDateInstance(DateFormat.MEDIUM, locale);
Which is not correct because DateFormat is not thread safe and pages aren't
pooled any more.
R