Date Problem

2007-07-25 Thread rrecoba
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]

Date problem

2007-08-16 Thread vamsi
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

Validator date problem

2005-03-03 Thread Michael Oliver
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 '

Re: Date Problem

2007-07-25 Thread Ian Roughley
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

Re: Date Problem

2007-07-25 Thread Ian Roughley
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

Re: Date Problem

2007-07-25 Thread rrecoba
ow why this is >>>> happening? >>>> >>>> Thanks a lot.- >>>> >>>> >>>> >>> - >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additi

Re: Date Problem

2007-07-25 Thread rrecoba
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]

Re: Date Problem

2007-07-25 Thread Ian Roughley
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

Re: Date Problem

2007-07-30 Thread rrecoba
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

Fw: Date problem

2007-08-16 Thread vamsi
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

RE: Validator date problem

2005-03-03 Thread Joe Hertz
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

RE: Validator date problem

2005-03-03 Thread Joe Hertz
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

Re: Fw: Date problem

2007-08-16 Thread Oleg Mikheev
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.

Re: Fw: Date problem

2007-08-17 Thread vamsi
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

Re: Fw: Date problem

2007-08-18 Thread Oleg Mikheev
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

struts-hibernate-mysql date problem

2008-08-22 Thread Hardik Shah
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

Re: struts-hibernate-mysql date problem

2008-08-22 Thread Stephan Schröder
/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

RE: struts-hibernate-mysql date problem

2008-08-22 Thread Nataraj Somaraju
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

Re: struts-hibernate-mysql date problem

2008-08-24 Thread Dustin Pearce
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. ---