hat "dates - uses the SHORT format for the Locale associated
>>>> with the
>>>> current request"
>>>>
>>>> May be this will help.
>>>>
>>>> Thank you.
>>>> Regards,
>>>> Kishan.G
>>>>
>
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
-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
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
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
>
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)
>
>
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,
>
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
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
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
10 matches
Mail list logo