Re: Conversion problem

2011-04-18 Thread Christian Grobmeier
Good idea - I included it to the java files location. But eclipse automatically copies it to the classes folder (just doublechecked). However, mvn jetty:run does use the target/classes folder as classfolder, but the webapp folder is /src/main/webapp.(where WEB-INF resides). Probably the failure is

Re: Conversion problem

2011-04-18 Thread Chris Pratt
Did you put it in the same location as the .class file, or the same location as the .java file? As far as I know if it's in the same location as the .class files (i.e. /WEB-INF/classes/com.package...) it should work, but normally the .java files don't get included in the .war file. (*Chris*) On

Re: Conversion problem

2011-04-18 Thread Christian Grobmeier
Oh wow, is it true? It seem ProjectsAction-conversion.properties and ProjectsAction must be on the same location on classpath, but it must NOT reside in the classfolder itself. When I added it on the same folder just in src/main/resources its used from struts. Why not from the same location as t

Re: Conversion problem

2011-04-18 Thread Christian Grobmeier
Hi, > It appears to be trying to set an Array of Strings to your setDeadlineTime > method, is it typed to take an Array of Strings? no arrays anywhere. But I found out I get more debug output with: log4j.logger.com.opensymphony.xwork2=DEBUG Now I could see that my conversion.properties file is

Re: Conversion problem

2011-04-18 Thread Chris Pratt
It appears to be trying to set an Array of Strings to your setDeadlineTime method, is it typed to take an Array of Strings? (*Chris*) On Mon, Apr 18, 2011 at 7:59 AM, Christian Grobmeier wrote: > Hi all, > > i have a form with only 6 values. > 4 Dates, 1 int, one string. > > I created 2 differe

Re: Conversion problem String / float

2010-07-02 Thread Ken
It probably would have been better if you posted more of class ProductAction... I just glanced over this quickly... I don't understand how priceOption is set in ProductAction... class ProductAction does have a setter for priceOption?

Re: Conversion problem String / float

2010-07-01 Thread Stephane Cosmeur
Thanks for helping here is the strutsProduct.xml :: http://struts.apache.org/dtds/struts-2.0.dtd";> true InfoProduct ${idProduct} /pages/error/role.jsp /pages/product/infoOption.jsp

Re: Conversion problem String / float

2010-07-01 Thread Ken
Please provide a trimmed down version of the form, the action bean and the struts.xml file (if there is one) showing the issue. On Thu, 2010-07-01 at 15:04 +0800, Stephane Cosmeur wrote: > Hello struts users > > We are facing a strange problem. We submit a form with textfields which > contain s