using normal dates.
On Wed, May 9, 2012 at 1:43 AM, Chris Mylonas wrote:
> 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 Dat
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
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
> 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 wo
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 DateFo
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
Please ignore - I changed this to use the tapx datepicker instead and found the
problem wasn’t the locale setup – I have a locale switcher in place and when
the locale is changes to ex. ‘es’ the date format is correct for both the
standard date field / date picker return value. The locales I am
IDK of there is an easier way,
but you can make new DisplayBlockContribution only for Date.class and format
the date as you like.
Cheers,
Dragan Sahpaski
On Fri, Mar 25, 2011 at 1:39 PM, Jim O'Callaghan
wrote:
> Can anyone advise on whether there is a global format setting that can be
> applie
Can anyone advise on whether there is a global format setting that can be
applied for date fields throughout a tap application - I don't want to have
to specify the format for every field - thanks.
Regards,
Jim.
ble.com/T5.0.11-t%3Aoutput-doesn%27t-work-for-DateFormat-tp17760525p17764395.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]
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
e.com/T5.0.11-t%3Aoutput-doesn%27t-work-for-DateFormat-tp17760525p17760525.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [
have a look at
http://wiki.apache.org/tapestry/Tapestry5LocalizedDateField
Marcelo lotif wrote:
>
> I found this question interesting too...
>
> anyone has any solution to this?
>
> 2007/12/22, Moritz Gmelin <[EMAIL PROTECTED]>:
>>
>> Hi,
>>
>&
I found this question interesting too...
anyone has any solution to this?
2007/12/22, Moritz Gmelin <[EMAIL PROTECTED]>:
>
> Hi,
>
> Is there a way to set the default DateFormat for all DateField
> elements of a BeanForm?
> I know that I could specify the format in a b
Hi,
Is there a way to set the default DateFormat for all DateField
elements of a BeanForm?
I know that I could specify the format in a block for
the form. But then I'd have to do this on every occurrence of a Date
object.
Is there maybe some service that I could intercept when
Here is the link.
http://weblogs.java.net/blog/johnreynolds/archive/2004/10/learn_by_teachi_1.html
It worked great for me.
On 2/22/07, Michael Siebert <[EMAIL PROTECTED]> wrote:
Hi All,
I want to format the date values in a contrib:table colum.
The actual output is "-mm-dd" and I want to
I have code that can do this, but it is pretty involved.
You may want to look at the Tapestry Tables demo war file. It has a
tutorial page that uses a custom column, with it's own column
comparator.
In my code I have a backend 2d array of the data in it's raw format.
(usually string and doubles)
Hi All,
I want to format the date values in a contrib:table colum.
The actual output is "-mm-dd" and I want to change it to "dd.mm."
How ca I format the Date within the page-File?
Or are there better and easier ways?
Thank you very much in advance for your help.
Regards
Mike
--
20 matches
Mail list logo