ge in context:
http://www.nabble.com/Date-Problem-tf4144758.html#a11788959
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Hi all,
I have some problem with date conversion.
Is struts automatically converts String in to date format?
if the answer is YES How to do that
regards
Vamsi Krishna
I have read the Validator User Guide as well as chapter 12 in Struts In
Action.
I am trying to get a validator to validate a date field with no success.
When I post the form with "02/30/2005" or "02/33/2005" or "02/30/xyz"
it goes through without catching the bad date.
If however I do not put a '
I believe its localization. try the date tag to specify a date format.
/Ian
rrecoba wrote:
Hi, I´m using an input field where the user must put a date in the format
"dd/MM/"
But in the Action, when struts 2 set the value for the date attribute, the
format change´s to "MM/dd/" , do
try setting it to a locale that uses a date format of "dd/MM/".
rrecoba wrote:
I don´t have the struts.locale, neither th struts.properties. This is the
problem.
Ian Roughley wrote:
what is the locale set to? It is the "struts.locale" property in the
struts.xml or struts.properties
ow why this is
>>>> happening?
>>>>
>>>> Thanks a lot.-
>>>>
>>>>
>>>>
>>> -
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additi
PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/Date-Problem-tf4144758.html#a11796054
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
what is the locale set to? It is the "struts.locale" property in the
struts.xml or struts.properties
/Ian
rrecoba wrote:
Hi, thanks for your answer. I understand that the date tag is for showing a
date not for input, is this ok?. My problem is that, when the user puts a
date in a form input f
eld where the user must put a date in the
>>>>>> format
>>>>>> "dd/MM/"
>>>>>>
>>>>>> But in the Action, when struts 2 set the value for the date
>>>>>> attribute,
>>>>>> the
>&g
Hi all,
I have some problem with date conversion.
Is struts automatically converts String in to date format?
if the answer is YES How to do that
regards
Vamsi Krishna
ng it unless you used
it.
> -Original Message-
> From: Michael Oliver [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 03, 2005 12:58 PM
> To: struts-user@jakarta.apache.org
> Subject: Validator date problem
>
> I have read the Validator User Guide as well as chapte
ng it unless you used
it.
> -Original Message-
> From: Michael Oliver [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 03, 2005 12:58 PM
> To: struts-user@jakarta.apache.org
> Subject: Validator date problem
>
> I have read the Validator User Guide as well as chapte
vamsi wrote:
I have some problem with date conversion.
Is struts automatically converts String in to date format?
if the answer is YES How to do that
http://struts.apache.org/2.x/docs/type-conversion.html
XWork will automatically handle the most common type conversion for you.
gt;
To: "Struts Users Mailing List"
Sent: Friday, August 17, 2007 2:09 AM
Subject: Re: Fw: Date problem
vamsi wrote:
I have some problem with date conversion.
Is struts automatically converts String in to date format?
if the answer is YES How to do that
http://strut
vamsi wrote:
But it is saying Paramtert interceptor unable to convert the
java.lang.String to Date and giving an Illegalargumentexception
any information why it is saying like that
You have to make sure the value entered is in correct format.
It should be in format that is outputt
wordpress blog
--
View this message in context:
http://www.nabble.com/struts-hibernate-mysql-date-problem-tp19104863p19104863.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL
/Stephan
Original-Nachricht
> Datum: Fri, 22 Aug 2008 03:31:30 -0700 (PDT)
> Von: Hardik Shah <[EMAIL PROTECTED]>
> An: user@struts.apache.org
> Betreff: struts-hibernate-mysql date problem
>
> hi
> i am using hibernate 3 with s2 my problem is that
>
&g
import the necessary.(DateFormat and ParsePosition)
Regards
Nataraj
Tata Consultancy Services
No- 9985834848
-Original Message-
From: Hardik Shah [mailto:[EMAIL PROTECTED]
Sent: Friday, August 22, 2008 4:02 PM
To: user@struts.apache.org
Subject: struts-hibernate-mysql date pro
er
India
blogs
http://hardik4u.wordpress.com wordpress blog
--
View this message in context:
http://www.nabble.com/struts-hibernate-mysql-date-problem-tp19104863p19104863.html
Sent from the Struts - User mailing list archive at Nabble.com.
---
19 matches
Mail list logo