RE: struts 2.1.5 type conversion error

2009-08-18 Thread Sandy.Verfaille
Thank you very much! -Oorspronkelijk bericht- Van: musom...@aol.com [mailto:musom...@aol.com] Verzonden: dinsdag 18 augustus 2009 16:00 Aan: user@struts.apache.org Onderwerp: Re: struts 2.1.5 type conversion error That is because you are using Struts 2.1.5. There is a bug in the type

Re: struts 2.1.5 type conversion error

2009-08-18 Thread musomesa
and you will find since I used 2.1.7 that negative numbers and zero work. -Original Message- From: sandy.verfai...@roularta.be To: user@struts.apache.org Sent: Tue, Aug 18, 2009 4:43 am Subject: RE: struts 2.1.5 type conversion error Dusty, The error only shows if i enter

RE: struts 2.1.5 type conversion error

2009-08-18 Thread Sandy.Verfaille
apache.org Onderwerp: Re: struts 2.1.5 type conversion error The error/warning you are talking about happens when the conversion fails. Essentially, after it tries the conversion and can't do it then it tries to apply the setXXX(String xxx), but that really is not what you want at all. Whe

Re: struts 2.1.5 type conversion error

2009-08-17 Thread dusty
The error/warning you are talking about happens when the conversion fails. Essentially, after it tries the conversion and can't do it then it tries to apply the setXXX(String xxx), but that really is not what you want at all. When you are using your own converters you want to be able to return

Re: struts 2.1.5 type conversion error

2009-08-17 Thread Dave Newton
sandy.verfai...@roularta.be wrote: I've changed my original setter to setStockAmountInt(int stockAmount), and kept setStockAmount(String stockAmount) so it could be used by the default ognl conversion. Now I can work without errors, but it seems kind of strange to me that this is the normal way o

Re: struts 2.1.5 type conversion error

2009-08-17 Thread musomesa
is is the normal way of working, is it? Regards, sandy -Oorspronkelijk bericht- Van: musom...@aol.com [mailto:musom...@aol.com] Verzonden: maandag 17 augustus 2009 11:53 Aan: user@struts.apache.org Onderwerp: Re: struts 2.1.5 type conversion error OGNL properties are JavaBean prop

RE: struts 2.1.5 type conversion error

2009-08-17 Thread Sandy.Verfaille
is it? Regards, sandy -Oorspronkelijk bericht- Van: musom...@aol.com [mailto:musom...@aol.com] Verzonden: maandag 17 augustus 2009 11:53 Aan: user@struts.apache.org Onderwerp: Re: struts 2.1.5 type conversion error OGNL properties are JavaBean properties. In your case you are trying to d

Re: struts 2.1.5 type conversion error

2009-08-17 Thread musomesa
= Integer.parseInt(stockAmount); } Now you have two properties even though the data is in one field. Chris -Original Message- From: sandy.verfai...@roularta.be To: user@struts.apache.org Sent: Mon, Aug 17, 2009 4:26 am Subject: RE: struts 2.1.5 type conversion error Eduard, I have

RE: struts 2.1.5 type conversion error

2009-08-17 Thread Sandy.Verfaille
n xml or .properties file.. Regards, SAndy -Oorspronkelijk bericht- Van: Eduard Neuwirt [mailto:eduard.neuw...@googlemail.com] Verzonden: maandag 17 augustus 2009 9:38 Aan: Struts Users Mailing List Onderwerp: Re: struts 2.1.5 type conversion error Hi Sandy, please use additionally t

Re: struts 2.1.5 type conversion error

2009-08-17 Thread Eduard Neuwirt
Mailing List Onderwerp: RE: struts 2.1.5 type conversion error http transmits strings (not int,double,date or any other type of primitive) Martin Gainty je ne suis pas d'accord avec ce que vous dites. mais je défendrai à ma mort votre droite de la dire. - Vol

RE: struts 2.1.5 type conversion error

2009-08-16 Thread Sandy.Verfaille
augustus 2009 18:45 Aan: Struts Users Mailing List Onderwerp: RE: struts 2.1.5 type conversion error http transmits strings (not int,double,date or any other type of primitive) Martin Gainty je ne suis pas d'accord avec ce que vous dites. mais je défendrai à ma mort votre droite de la

RE: struts 2.1.5 type conversion error

2009-08-13 Thread Martin Gainty
n seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni. > Subject: RE: struts 2.1.5 type conversion error > Dat

RE: struts 2.1.5 type conversion error

2009-08-13 Thread Sandy.Verfaille
Lukasz, The type of 'price' is a double.. Thx for answering. Regards, sandy -Oorspronkelijk bericht- Van: Lukasz Lenart [mailto:lukasz.len...@googlemail.com] Verzonden: woensdag 22 juli 2009 9:50 Aan: Struts Users Mailing List Onderwerp: Re: struts 2.1.5 type conversion err

Re: struts 2.1.5 type conversion error

2009-07-22 Thread Lukasz Lenart
2009/7/17 : > > Name nl > price > What type has "price" in action class? Regards -- Lukasz http://www.lenart.org.pl/ http://dailylog.lenart.org.pl/ Charles de Gaulle - "The better I get to know men, the more I find myself loving dogs." - http://www.brainyquote.com/quotes/authors/c/charles_