You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Harland <ha...@yahoo.com> on 2007/05/16 10:22:23 UTC
datetimepicker dateformat problem
Hi,
If I use the datetimepicker and add the dateFormat="dd/MM/yyyy" attribute. When the form is posted I get a convertor error. If I leave it as the default format there is no problem.
Does anyone know why please.
Thanks
Dave.
____________________________________________________________________________________Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datetimepicker dateformat problem
Posted by Musachy Barroso <mu...@gmail.com>.
Then you are probably another victim of:
https://issues.apache.org/struts/browse/WW-1917
only work around is to have a String property for the date, or define your
own type converter.
regards
musachy
On 5/16/07, David Harland <dh...@ufi.com> wrote:
>
> Sorry Musachy that was a typo I mean't displayFormat. If I use
> displayFormat="dd/MM/yyyy" I get a convertor error when I post the form.
>
> -----Original Message-----
> From: Musachy Barroso [mailto:musachy@gmail.com]
> Sent: 16 May 2007 14:19
> To: Struts Users Mailing List
> Subject: Re: datetimepicker dateformat problem
>
> use "displayFormat"
>
> musachy
>
> On 5/16/07, David Harland <dh...@ufi.com> wrote:
> >
> > How can I format the displayed date?
> >
> > -----Original Message-----
> > From: Musachy Barroso [mailto:musachy@gmail.com]
> > Sent: 16 May 2007 14:10
> > To: Struts Users Mailing List
> > Subject: Re: datetimepicker dateformat problem
> >
> > The dateFormat should not be used and will be removed. Date will
> > always be submitted as RFC 3339.
> >
> > musachy
> >
> > On 5/16/07, David Harland <ha...@yahoo.com> wrote:
> > >
> > > Hi,
> > >
> > > If I use the datetimepicker and add the dateFormat="dd/MM/yyyy"
> > attribute.
> > > When the form is posted I get a convertor error. If I leave it as
> > > the default format there is no problem.
> > >
> > > Does anyone know why please.
> > >
> > > Thanks
> > >
> > > Dave.
> > >
> > >
> > >
> > >
> > >
> > > ____________________________________________________________________
> > > __ ______________Looking for a deal? Find great prices on flights
> > > and hotels with Yahoo! FareChase.
> > > http://farechase.yahoo.com/
> > >
> > > --------------------------------------------------------------------
> > > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > > For additional commands, e-mail: user-help@struts.apache.org
> > >
> > >
> >
> >
> > --
> > "Hey you! Would you help me to carry the stone?" Pink Floyd
> >
> >
> > - ------
> > ML {UFI}
> >
> > ______________________________________________________________________
> > Ufi Limited
> > Registered in England No. 3980770
> > Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
> >
> > learndirect Solutions Ltd
> > Registered in England No. 5081669
> > Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
> >
> > UFI Charitable Trust
> > Registered in England No. 3658378
> > Registered Charity No. 1081028
> > Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
> >
> > This email has been scanned by the MessageLabs Email Security System.
> >
> > ______________________________________________________________________
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>
> - ------
> ML {UFI}
>
> ______________________________________________________________________
> Ufi Limited
> Registered in England No. 3980770
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> UFI Charitable Trust
> Registered in England No. 3658378
> Registered Charity No. 1081028
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> This email has been scanned by the MessageLabs Email Security System.
>
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
RE: datetimepicker dateformat problem
Posted by David Harland <dh...@ufi.com>.
Sorry Musachy that was a typo I mean't displayFormat. If I use
displayFormat="dd/MM/yyyy" I get a convertor error when I post the form.
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com]
Sent: 16 May 2007 14:19
To: Struts Users Mailing List
Subject: Re: datetimepicker dateformat problem
use "displayFormat"
musachy
On 5/16/07, David Harland <dh...@ufi.com> wrote:
>
> How can I format the displayed date?
>
> -----Original Message-----
> From: Musachy Barroso [mailto:musachy@gmail.com]
> Sent: 16 May 2007 14:10
> To: Struts Users Mailing List
> Subject: Re: datetimepicker dateformat problem
>
> The dateFormat should not be used and will be removed. Date will
> always be submitted as RFC 3339.
>
> musachy
>
> On 5/16/07, David Harland <ha...@yahoo.com> wrote:
> >
> > Hi,
> >
> > If I use the datetimepicker and add the dateFormat="dd/MM/yyyy"
> attribute.
> > When the form is posted I get a convertor error. If I leave it as
> > the default format there is no problem.
> >
> > Does anyone know why please.
> >
> > Thanks
> >
> > Dave.
> >
> >
> >
> >
> >
> > ____________________________________________________________________
> > __ ______________Looking for a deal? Find great prices on flights
> > and hotels with Yahoo! FareChase.
> > http://farechase.yahoo.com/
> >
> > --------------------------------------------------------------------
> > - To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>
> - ------
> ML {UFI}
>
> ______________________________________________________________________
> Ufi Limited
> Registered in England No. 3980770
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> UFI Charitable Trust
> Registered in England No. 3658378
> Registered Charity No. 1081028
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> This email has been scanned by the MessageLabs Email Security System.
>
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
- ------
ML {UFI}
______________________________________________________________________
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
learndirect Solutions Ltd
Registered in England No. 5081669
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
UFI Charitable Trust
Registered in England No. 3658378
Registered Charity No. 1081028
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datetimepicker dateformat problem
Posted by Musachy Barroso <mu...@gmail.com>.
use "displayFormat"
musachy
On 5/16/07, David Harland <dh...@ufi.com> wrote:
>
> How can I format the displayed date?
>
> -----Original Message-----
> From: Musachy Barroso [mailto:musachy@gmail.com]
> Sent: 16 May 2007 14:10
> To: Struts Users Mailing List
> Subject: Re: datetimepicker dateformat problem
>
> The dateFormat should not be used and will be removed. Date will always
> be submitted as RFC 3339.
>
> musachy
>
> On 5/16/07, David Harland <ha...@yahoo.com> wrote:
> >
> > Hi,
> >
> > If I use the datetimepicker and add the dateFormat="dd/MM/yyyy"
> attribute.
> > When the form is posted I get a convertor error. If I leave it as the
> > default format there is no problem.
> >
> > Does anyone know why please.
> >
> > Thanks
> >
> > Dave.
> >
> >
> >
> >
> >
> > ______________________________________________________________________
> > ______________Looking for a deal? Find great prices on flights and
> > hotels with Yahoo! FareChase.
> > http://farechase.yahoo.com/
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> --
> "Hey you! Would you help me to carry the stone?" Pink Floyd
>
>
> - ------
> ML {UFI}
>
> ______________________________________________________________________
> Ufi Limited
> Registered in England No. 3980770
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> learndirect Solutions Ltd
> Registered in England No. 5081669
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> UFI Charitable Trust
> Registered in England No. 3658378
> Registered Charity No. 1081028
> Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
>
> This email has been scanned by the MessageLabs Email Security System.
>
> ______________________________________________________________________
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
RE: datetimepicker dateformat problem
Posted by David Harland <dh...@ufi.com>.
How can I format the displayed date?
-----Original Message-----
From: Musachy Barroso [mailto:musachy@gmail.com]
Sent: 16 May 2007 14:10
To: Struts Users Mailing List
Subject: Re: datetimepicker dateformat problem
The dateFormat should not be used and will be removed. Date will always
be submitted as RFC 3339.
musachy
On 5/16/07, David Harland <ha...@yahoo.com> wrote:
>
> Hi,
>
> If I use the datetimepicker and add the dateFormat="dd/MM/yyyy"
attribute.
> When the form is posted I get a convertor error. If I leave it as the
> default format there is no problem.
>
> Does anyone know why please.
>
> Thanks
>
> Dave.
>
>
>
>
>
> ______________________________________________________________________
> ______________Looking for a deal? Find great prices on flights and
> hotels with Yahoo! FareChase.
> http://farechase.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd
- ------
ML {UFI}
______________________________________________________________________
Ufi Limited
Registered in England No. 3980770
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
learndirect Solutions Ltd
Registered in England No. 5081669
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
UFI Charitable Trust
Registered in England No. 3658378
Registered Charity No. 1081028
Registered Office: Dearing House, 1 Young Street, Sheffield, S1 4UP
This email has been scanned by the MessageLabs Email Security System.
______________________________________________________________________
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org
Re: datetimepicker dateformat problem
Posted by Musachy Barroso <mu...@gmail.com>.
The dateFormat should not be used and will be removed. Date will always be
submitted as RFC 3339.
musachy
On 5/16/07, David Harland <ha...@yahoo.com> wrote:
>
> Hi,
>
> If I use the datetimepicker and add the dateFormat="dd/MM/yyyy" attribute.
> When the form is posted I get a convertor error. If I leave it as the
> default format there is no problem.
>
> Does anyone know why please.
>
> Thanks
>
> Dave.
>
>
>
>
>
> ____________________________________________________________________________________Looking
> for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
> http://farechase.yahoo.com/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>
--
"Hey you! Would you help me to carry the stone?" Pink Floyd