There may not. We ran into this problem before with the java.lang.String type within a Java Web Start client. There's a bug out there in JIRA for it and I provided the patch which fixed it. My suggestion was to use the commons beanutils classes rather than the property editors, but we want to minimize the dependencies HiveMind has (aside from Javassist, obviously), so we're sticking with the core JDK classes. We basically short-circuited the property editor lookup if the target property type was String (as converting String to String is somewhat trivial). Are you running within a webstart client?
-----Original Message----- From: Steve Gibson [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 03, 2004 10:17 AM To: [email protected] 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 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
