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:[EMAIL PROTECTED] 
Sent: Wednesday, November 03, 2004 10:12 AM
To: [email protected]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to