I can't see the usage example you are referring too. Have you tried using
the global *app.properties* file ? I reckon it's named after your module
name so if your module class is *MyAppModule.java*, your application
catalog filename should be *myapp.properties* (Case insensitive I think)

In that file you can store your format and refer to it through
${message:your.date-format}

Unless you are trying to use a default date format without even specifying
the *format* attribute as in the
DateField<http://tapestry.apache.org/current/apidocs/org/apache/tapestry5/corelib/components/DateField.html>
component
(The only example I can think of since you didn't specify which component
is asking you for a date format), well I don't know how to do that since
that attribute is required !

On Wed, Sep 5, 2012 at 9:26 AM, ZKN __ <z...@abv.bg> wrote:

>
> Hi,
> is there a way in Tapestry to set global date formats? As it is now we
> specify the date format inside the tag like this:
>
> It would be much easier and less error prone if we could specify the
> format as a global setting.
> Thanks,
>  Özkan

Reply via email to