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
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
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
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
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
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
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
= 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
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
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
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
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
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
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_
14 matches
Mail list logo