Re: [Struts 2] Date conversion general bug!

2009-07-30 Thread rsilva
lues. > > Z. > > -- View this message in context: http://www.nabble.com/-Struts-2--Date-conversion-general-bug%21-tp17369156p24740599.html Sent from the Struts - User mailing list archive at Nabble.com. - To un

Re: [Struts 2] Date conversion general bug!

2009-07-16 Thread Zoran Avtarovski
I agree that date conversion is a real problem for S2, especially in multi lingual applications. We¹ve had to implement our own converter which either looks for a format value with the date string or picks up a list of default prioritised date formats and tries each one successively until success

Re: [Struts 2] Date conversion general bug!

2009-07-16 Thread rsilva
field, >> but when I submit the form I got the same error: >> >> ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor:204 - >> ParametersInterceptor - [setParameters]: Unexpected Exception caught >> setting >> 'date' on 'class com.myProject.test.MyActio

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
I'm sorry, but I finally got what is the problem. I'm sending in this thread and I want people on the list know what I have find. It very bad that nobody from Struts team want to help with this simple problem and that people get stuck with their projects for weeks because of such things. It is n

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Jim Kiley
It is possible that sending your complete step-by-step development process as responses to yourself on the mailing list is not the most productive way to solve this problem. On Wed, May 21, 2008 at 10:50 AM, Milan Milanovic <[EMAIL PROTECTED]> wrote: > No, Struts 2 only support MM/dd/ date fo

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
No, Struts 2 only support MM/dd/ date format and accepts it, when I change to dd.MM. I got that error: ERROR com.opensymphony.xwork2.interceptor.ParametersInterceptor:204 - ParametersInterceptor - [setParameters]: Unexpected Exception caught setting... -- Thx. Milan Milanov

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
Yes, this was the same problem with too. All dates must be in this format to work: MM.dd.! How can I change this ? I tried with displayFormat attribute and to define it in package.properties, but it doesn't work. Can this be done for complete application ? -- Thx in advance, mi

Re: [Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
The wierd thing, even if my date is wrote in dd.MM. format in textfield, if I enter date in dd/MM/ format then it works without this error ? What is the problem ? Maybe the same problem is with datetimepicker ? -- Thx in advance, Milan Milan Milanovic <[EMAIL PROTECTED]> wro

[Struts 2] Date conversion general bug!

2008-05-21 Thread Milan Milanovic
Regarding this theme: http://www.nabble.com/-Struts-2--Datetimepicker-tag-Bug--%21-td17322058.html I must reply in this way, because when I give reply to the message above struts mailing list returns that my e-mail is SPAM?! No, the thing is very simple. I have in my jsp that is con