[Wicket-user] Bug in SimpleConverterAdapter?

2006-12-12 Thread jan_bar
Hi, in my opinion, the logic with isAssignableFrom should be the opposite one (wicket 1.2.3): Object convert(..) { ... // buggy, should be the opposite //else if (value != null (!value.getClass().isAssignableFrom(c))) else if (value != null (!c.isAssignableFrom(value.getClass( ... } Where

Re: [Wicket-user] Bug in SimpleConverterAdapter?

2006-12-12 Thread Eelco Hillenius
I think you're right. You can file issues at http://issues.apache.org/jira/browse/WICKET please. Thanks! Eelco On 12/12/06, jan_bar [EMAIL PROTECTED] wrote: Hi, in my opinion, the logic with isAssignableFrom should be the opposite one (wicket 1.2.3): Object convert(..) { ... // buggy,

Re: [Wicket-user] Bug in SimpleConverterAdapter?

2006-12-12 Thread Johan Compagner
ahh the always nice isAssignableFrom.. How many times i had to think what was it again.. how does it work.. Why is that! johan On 12/12/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I think you're right. You can file issues at http://issues.apache.org/jira/browse/WICKET please. Thanks!

Re: [Wicket-user] Bug in SimpleConverterAdapter?

2006-12-12 Thread Eelco Hillenius
http://issues.apache.org/jira/browse/WICKET-161 Thanks, Eelco On 12/12/06, Eelco Hillenius [EMAIL PROTECTED] wrote: I think you're right. You can file issues at http://issues.apache.org/jira/browse/WICKET please. Thanks! Eelco On 12/12/06, jan_bar [EMAIL PROTECTED] wrote: Hi, in

Re: [Wicket-user] Bug in SimpleConverterAdapter?

2006-12-12 Thread Iman Rahmatizadeh
Hey, you saved my life Jan ! I always thought it was my problem wicket throwing exception's there. Now I see it's Johan ! :-) On 12/13/06, jan_bar [EMAIL PROTECTED] wrote: Hi, in my opinion, the logic with isAssignableFrom should be the opposite one (wicket 1.2.3): Object convert(..) { ...

Re: [Wicket-user] Bug in SimpleConverterAdapter?

2006-12-12 Thread Eelco Hillenius
In defense of Johan, it was probably me that made the mistake :) Sorry Eelco On 12/12/06, Iman Rahmatizadeh [EMAIL PROTECTED] wrote: Hey, you saved my life Jan ! I always thought it was my problem wicket throwing exception's there. Now I see it's Johan ! :-) On 12/13/06, jan_bar