Hi jens,
Thank you very much for the code reference.
On Wed, Apr 11, 2018 at 3:37 PM, Jens Breitenstein
wrote:
> Hi!
>
>
> Maybe this helps:
>
> We wrote our own component, modify as you like
>
>
> public class DateFormatter
> {
> @Inject private Messages_messages;
>
>@Parameter(require
Okay, thank you very much thiago.
On Wed, Apr 11, 2018 at 2:52 AM, Thiago H. de Paula Figueiredo <
thiag...@gmail.com> wrote:
> Hi!
>
> Your question was clear. There's no such configuration symbol due to the
> way way DateField defines which format to use, which is calling
> DateFormat.getDateIn
Hi!
Maybe this helps:
We wrote our own component, modify as you like
public class DateFormatter
{
@Inject private Messages_messages;
@Parameter(required =true, defaultPrefix ="prop")private Date_date;
@Parameter(required =false, defaultPrefix ="literal")private String_format;
Hi!
Your question was clear. There's no such configuration symbol due to the
way way DateField defines which format to use, which is calling
DateFormat.getDateInstance(DateFormat.SHORT, locale).
A possibility is to create your own DateField class by copying the source
from the Tapestry one, custo
Hi thiago,
Sorry, i'm having a bit of trouble understanding your explanation.
Lets say i pick April 10th, 2018 from my date picker in my page. It will
fill the field with 04/10/2018. While the format we expected is
10-04-2018. I could override the field and specify the format in the
template
Hello!
The default format is taken from
DateFormat.getDateInstance(DateFormat.SHORT, locale), where locale is got
through @Inject. Is your desired date format the one returned by that
method for your locale?
On Tue, Apr 10, 2018 at 5:26 AM, abangkis wrote:
> Hi, is there a quick way to override