Re: Problem with Date fields in struts2.1.8.1

2009-12-17 Thread Greg Lindholm
Your setter should be setVdat1s() with a capital V to match java bean standards. There has been other reports on this list of this issue. On Thu, Dec 17, 2009 at 2:26 PM, Parm Lehal wrote: > I migrated from struts2.1.6 to 2.1.8.1 and all of a sudden my date > fields don't get saved any more.  H

Re: Problem with Date fields in struts2.1.8.1

2009-12-17 Thread Parm Lehal
I migrated from struts2.1.6 to 2.1.8.1 and all of a sudden my date fields don't get saved any more. Has anyone else faced this issue? Please, help. I am using plain text field for date and using getter and setter methods in the model class to format the date. the form has Setter in the mode

Re: Problem with date

2005-07-25 Thread Michael Meadows
To be less terse: The Date object is kind of like my wife when I get all excited about technology... it only acts like it cares about time zone. If you're parsing from text, try feeding the DateFormat object a TimeZone before parsing: DateFormat formatter = DateFormat.getDateTimeInstance (Date

Re: Problem with date

2005-07-25 Thread Michael Meadows
Feed it to the Calendar (yum). On 25 Jul 2005 03:43:54 -, syed abrar <[EMAIL PROTECTED]> wrote: > > > Hello > This problem is more of a core java issue than a struts one. > I have a user interface to accept time and another field to enter the > difference of time with GMT (GMT+x or GMT-1)