hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Istvan Orban <istv...@mailbox.hu>
Subject Re: set a java.lang.Integer inside a construct element
Date Thu, 04 Nov 2004 16:40:19 GMT
I also had the same issue,.
for me it seemed that, property editor works for int (basic type) but
not for java.lang.Integer
so I decided to have my own converter using commons.beanutils ( I now
this is an extra dependency, but I mostly use this lib. in my projects
anyway)

enviroment:

tomcat 4.1.24
hivemind 1.0
jdk 1.4.2

Istvano

>Haven't seen anything like that, except James (Carman) has seen some
>issues with Java Web Start deployments.  Can you describe your
>environment?
>
>
>On Wed, 3 Nov 2004 16:11:55 +0100 (CET), David J. M. Karlsen
><david@davidkarlsen.com> wrote:
>  
>
>>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
>>
>>
>>    
>>
>
>
>--
>Howard M. Lewis Ship
>Independent J2EE / Open-Source Java Consultant
>Creator, Jakarta Tapestry
>Creator, Jakarta HiveMind
>http://howardlewisship.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