Re: Upgrading Struts 2

2009-01-30 Thread Sergio Italiani
It turns out that the problem I was having - had nothing to do with type conversion. The problem was a chunk of my code that was responsible for formatting. Specifically, the exception "IllegalArgumentException: Cannot format given Object as a Number" was thrown because of (format.money i

Re: Upgrading Struts 2

2009-01-26 Thread Paweł Wielgus
Hi all, just as a side note I wrote few lines about my upgrade process here [1], remember to delete work directory from tomcat if You are using one. [1] - http://poulwiel.blogspot.com/2009/01/migrating-from-struts-20x-to-216.html Best greetings, Paweł Wielgus. 2009/1/25 Wes Wannemacher : > On Su

Re: Upgrading Struts 2

2009-01-25 Thread Wes Wannemacher
On Sunday 25 January 2009 12:39:27 Sergio Italiani wrote: > OK you got a point there... but again if it was XWork bug wouldn't it > affect showcase as well. As I mentioned before If I modify the > showcase validation pages - they work pretty well with type conversion > and no exception is thrown. T

Re: Upgrading Struts 2

2009-01-25 Thread Sergio Italiani
OK you got a point there... but again if it was XWork bug wouldn't it affect showcase as well. As I mentioned before If I modify the showcase validation pages - they work pretty well with type conversion and no exception is thrown. The problem is that the ShowCase is huge and I cannon base my new p

Re: Upgrading Struts 2

2009-01-25 Thread Wes Wannemacher
On Sunday 25 January 2009 11:44:46 Sergio Italiani wrote: > Thanks for the reply, > but the issue You are referring to should have been fixed in 2.1.3. I > am using 2.1.6 > Also my textbox expects Double (not Date) ... and when I put in wrong > value ..say '' the exception is thrown > Must

Re: Upgrading Struts 2

2009-01-25 Thread Sergio Italiani
Thanks for the reply, but the issue You are referring to should have been fixed in 2.1.3. I am using 2.1.6 Also my textbox expects Double (not Date) ... and when I put in wrong value ..say '' the exception is thrown Must be something else... Any other suggestions ? I am surprised nobody els

Re: Upgrading Struts 2

2009-01-25 Thread Musachy Barroso
Your problem could be related to this: http://jira.opensymphony.com/browse/XW-670 musachy On Sun, Jan 25, 2009 at 5:37 AM, Sergio Italiani wrote: > Hi Andy! > Sorry for bothering you. > I tried to migrate (following Apache wiki article) from my sample app > that was based on 2.0.11 (struts bla

Re: Upgrading Struts 2

2009-01-25 Thread Sergio Italiani
Hi Andy! Sorry for bothering you. I tried to migrate (following Apache wiki article) from my sample app that was based on 2.0.11 (struts blank) to 2.1.6 and as a result some type conversions handled by the frame work stopped working and now i got IllegalArgumentException: Cannot format given Obje

Re: Upgrading Struts 2

2009-01-24 Thread Andy Sykes
Hi, We've migrated an app from 2.0.11 to 2.1.2 (and then to 2.1.6 when it became GA - this was a trivial upgrade). I found this article on the Apache wiki very useful: http://cwiki.apache.org/S2WIKI/troubleshooting-guide-migrating-from-struts-20x-to-21x.html I had no major issues - and the

Upgrading Struts 2

2009-01-24 Thread Matthew Seaborn
We are currently running 2.0.11 and having been away from Struts 2 for a while I was pleased to a see a number of new releases. Has anyone done an upgrade to either 2.0.14 or 2.1.6 from a 2.0.x release? If so how smooth was the transition? Matthew Seaborn Software Architect t+44(0) 208 48