Re: Submitting a Date to an Action

2009-05-01 Thread Richard Sayre
hat "dates - uses the SHORT format for the Locale associated >>>> with the >>>> current request" >>>> >>>> May be this will help. >>>> >>>> Thank you. >>>> Regards, >>>> Kishan.G >>>> >

Re: Submitting a Date to an Action

2009-05-01 Thread Andy Sykes
e Engineer. www.spansystems.com -Original Message- From: Richard Sayre [mailto:richardsa...@gmail.com] Sent: Thursday, April 30, 2009 4:14 PM To: Struts Users Mailing List Subject: Re: Submitting a Date to an Action Thank you. I will give it a try. On Thu, Apr 30, 2009 at 1:22 AM, Matt Jian

Re: Submitting a Date to an Action

2009-05-01 Thread Richard Sayre
-Original Message----- >> From: Richard Sayre [mailto:richardsa...@gmail.com] >> Sent: Thursday, April 30, 2009 4:14 PM >> To: Struts Users Mailing List >> Subject: Re: Submitting a Date to an Action >> >> Thank you.  I will give it a try. >> >> On T

Re: Submitting a Date to an Action

2009-04-30 Thread Zoran Avtarovski
ardsa...@gmail.com] > Sent: Thursday, April 30, 2009 4:14 PM > To: Struts Users Mailing List > Subject: Re: Submitting a Date to an Action > > Thank you. I will give it a try. > > On Thu, Apr 30, 2009 at 1:22 AM, Matt Jiang wrote: >> > Hi >> > >> > It i

RE: Submitting a Date to an Action

2009-04-30 Thread Kishan G. Chellap Paandy
ystems.com -Original Message- From: Richard Sayre [mailto:richardsa...@gmail.com] Sent: Thursday, April 30, 2009 4:14 PM To: Struts Users Mailing List Subject: Re: Submitting a Date to an Action Thank you. I will give it a try. On Thu, Apr 30, 2009 at 1:22 AM, Matt Jiang wrote: > Hi >

Re: Submitting a Date to an Action

2009-04-30 Thread Richard Sayre
Thank you. I will give it a try. On Thu, Apr 30, 2009 at 1:22 AM, Matt Jiang wrote: > Hi > > It is nothing about date picker tag. You can have a Converter to convert > String to Date and vice versa. > Below is my implementation for your reference: > (For DateUtil, please replace with yours) > >

Re: Submitting a Date to an Action

2009-04-30 Thread Richard Sayre
Yes I can Get it to work with the S2 date picker, I just cant figure out what is telling it to convert the String to a date. 2009/4/30 Paweł Wielgus : > Hi all, > as far as i know, date has its converter inside struts2 distribution, > so one shoul do nothing to make it work. > > Best greetings, >

Re: Submitting a Date to an Action

2009-04-29 Thread Paweł Wielgus
Hi all, as far as i know, date has its converter inside struts2 distribution, so one shoul do nothing to make it work. Best greetings, Pawel Wielgus. 2009/4/30, Matt Jiang : > Hi > > It is nothing about date picker tag. You can have a Converter to convert > String to Date and vice versa. > Below

Re: Submitting a Date to an Action

2009-04-29 Thread Matt Jiang
Hi It is nothing about date picker tag. You can have a Converter to convert String to Date and vice versa. Below is my implementation for your reference: (For DateUtil, please replace with yours) public class DateConverter extends StrutsTypeConverter { private static final String PATTERN = Dat

Submitting a Date to an Action

2009-04-29 Thread Richard Sayre
I have an Action with a date attribute private Date myDate; public void setMyDate(Date myDate) { this.myDate = myDate; } I have a form that has a date picker (not the struts 2 date picker) that populates a text field. When I submitt the form to my action the property does not get set because St