hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Gibson" <Steve.Gib...@cowww.com>
Subject RE: [SPAM] - set a java.lang.Integer inside a construct element - Email has different SMTP TO: and MIME TO: fields in the email addresses
Date Wed, 03 Nov 2004 15:17:16 GMT
Taken from the javadocs for java.beans.ProperttEditorManager

Default PropertyEditors will be provided for the Java primitive types
"boolean", "byte", "short", "int", "long", "float", and "double"; and
for the classes java.lang.String. java.awt.Color, and java.awt.Font.

Steve Gibson

-----Original Message-----
From: David J. M. Karlsen [mailto:david@davidkarlsen.com] 
Sent: Wednesday, November 03, 2004 10:12 AM
To: hivemind-user@jakarta.apache.org
Subject: [SPAM] - set a java.lang.Integer inside a construct element -
Email has different SMTP TO: and MIME TO: fields in the email addresses



I use an invoke-factory, with a construct element inside, which contains

several <set property="someProp" value="someValue"/>

mostly Strings, but also a java.lang.Integer.

but the Integer conversion fails (value="1252") to convert:

org.apache.hivemind.ApplicationRuntimeException: Unable to translate 
'1252' to type java.lang.Integer: No property editor for 
java.lang.Integer.

surely there ought to be a converter to Integer?


David J. M. Karlsen - +47 90 68 22 43
http://www.davidkarlsen.com
http://mp3.davidkarlsen.com

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message