Hi Sandy,
please use additionally to the conversion xml the of the declaration
corresponding member attributes as double, int etc. I think there are
several examples for the <class-name>.properties files.
Regards
Eduard Neuwirt
[email protected] schrieb:
Martin,
Then why are there validator xmls in which you can say what type your input
should be?
Shall I give all my int variables in my class a String-setter?
Thx for the answer,
Sandy
-----Oorspronkelijk bericht-----
Van: Martin Gainty [mailto:[email protected]]
Verzonden: donderdag 13 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 dire. - Voltaire
______________________________________________
Note de déni et de confidentialité
Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le
destinataire prévu, nous te demandons avec bonté que pour satisfaire informez
l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est
interdite. Ce message sert à l'information 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
Date: Thu, 13 Aug 2009 16:11:55 +0200
From: [email protected]
To: [email protected]
Lukasz,
The type of 'price' is a double..
Thx for answering.
Regards,
sandy
-----Oorspronkelijk bericht-----
Van: Lukasz Lenart [mailto:[email protected]]
Verzonden: woensdag 22 juli 2009 9:50
Aan: Struts Users Mailing List
Onderwerp: Re: struts 2.1.5 type conversion error
2009/7/17 <[email protected]>:
<s:form action="addProduct" method="post" validate="true" > Name
nl<s:textfield name="nameNl" /> price<s:textfield name="price"
value=""/> </s:form>
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_de_gaulle.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
_________________________________________________________________
Get your vacation photos on your phone!
http://windowsliveformobile.com/en-us/photos/default.aspx?&OCID=0809TL-HM
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]