No, it's the same locale. -----Original Message----- From: Musachy Barroso [mailto:musa...@gmail.com] Sent: Monday, February 09, 2009 10:25 AM To: Struts Users Mailing List Subject: Re: Datetimepicker and struts 2.1.6
It could be related to this: http://jira.opensymphony.com/browse/XW-670 is the client on a different locale than the server? musachy On Mon, Feb 9, 2009 at 1:09 PM, Phan, Hienthuc T <hienthuc_p...@merck.com> wrote: > > Hi, > > I migrated from struts 2.0.11 to 2.1.6 and the datetimepicker does not work > anymore. I specifically set the display format to "MM/dd/yyyy". Visually > it displays correctly; however, when the page is submitted, the data I go > back is in this format: "yyyy-MM-ddT00:00:00-80:00". This tag worked on > 2.0.11 without any custom conversion. I don't know why it does not work on > 2.1.6. Can you help? Thanks. > > UI: > > From the log: > input parameter 3 value set to 2009-01-02T00:00:00-08:00 > input parameter 4 value set to 2009-01-30T00:00:00-08:00 > > A snip of my jsp code: > > <%@ page contentType="text/html;charset=UTF-8" language="java" %> > <%@ taglib uri="/struts-tags" prefix="s" %> > <%@ taglib prefix="sx" uri="/struts-dojo-tags" %> > > <html> > <head> > <sx:head/> > </head> > <body> > ..... > <sx:datetimepicker key="label.contract.approvaldate" > name="contract.approvalDate" > displayFormat="MM/dd/yyyy"/> > > </body> > </html> > > Notice: This e-mail message, together with any attachments, contains > information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, > New Jersey, USA 08889), and/or its affiliates (which may be known > outside the United States as Merck Frosst, Merck Sharp & Dohme or > MSD and in Japan, as Banyu - direct contact information for affiliates is > available at http://www.merck.com/contact/contacts.html) that may be > confidential, proprietary copyrighted and/or legally privileged. It is > intended solely for the use of the individual or entity named on this > message. If you are not the intended recipient, and have received this > message in error, please notify us immediately by reply e-mail and > then delete it from your system. > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org Notice: This e-mail message, together with any attachments, contains information of Merck & Co., Inc. (One Merck Drive, Whitehouse Station, New Jersey, USA 08889), and/or its affiliates (which may be known outside the United States as Merck Frosst, Merck Sharp & Dohme or MSD and in Japan, as Banyu - direct contact information for affiliates is available at http://www.merck.com/contact/contacts.html) that may be confidential, proprietary copyrighted and/or legally privileged. It is intended solely for the use of the individual or entity named on this message. If you are not the intended recipient, and have received this message in error, please notify us immediately by reply e-mail and then delete it from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org