[Wicket-user] Conversion Error For Boolean/Checkbox

2007-01-17 Thread Ayodeji Aladejebi
Please when I used the SignInForm RemeberMe property, anytime a user checks it, i keep getting this error Caused by: java.util.MissingResourceException: Unable to find resource: ConversionError for component: registerPanel:signInForm:rememberMeRow:rememberMe at

Re: [Wicket-user] Conversion Error For Boolean/Checkbox

2007-01-17 Thread Ayodeji Aladejebi
Version: 1.2.4 On 1/17/07, Ayodeji Aladejebi [EMAIL PROTECTED] wrote: Please when I used the SignInForm RemeberMe property, anytime a user checks it, i keep getting this error Caused by: java.util.MissingResourceException: Unable to find resource: ConversionError for component:

Re: [Wicket-user] Conversion Error For Boolean/Checkbox

2007-01-17 Thread Arnout Engelen
Ayodeji Aladejebi schreef: Please when I used the SignInForm RemeberMe property, anytime a user checks it, i keep getting this error Caused by: java.util.MissingResourceException: Unable to find resource: ConversionError for component: registerPanel:signInForm:rememberMeRow:rememberMe

Re: [Wicket-user] Conversion Error For Boolean/Checkbox

2007-01-17 Thread Ayodeji Aladejebi
waoh...behold the wonder of this day..thanks for that tip..works fine now On 1/17/07, Arnout Engelen [EMAIL PROTECTED] wrote: Ayodeji Aladejebi schreef: Please when I used the SignInForm RemeberMe property, anytime a user checks it, i keep getting this error Caused by:

Re: [Wicket-user] conversion

2006-05-10 Thread Johan Compagner
we try to do it:if (object instanceof String) {// and that String is not emptyfinal String string = (String)object;if (!Strings.isEmpty(string)) { // and there is a non-null property type for the component final Class propertyType = propertyType(component); if

Re: [Wicket-user] conversion

2006-05-10 Thread Eelco Hillenius
Yeah, I'm not totally crazy about that either. But the fact that we only try to convert when there is a converter set comes from: * some components, like CheckBox use their own kind of conversion, and thus override the convertValue method * some users strongly objected against Wicket always

Re: [Wicket-user] conversion

2006-05-10 Thread Johan Compagner
I guess you mean only try to convert when there is a type set ?Checkbox is abit of a bad example, A DropDown or anohter Choice is a better oneConverter is Type conversion String to Date or Integer or what ever. But convertValue (used in the Choice classes) is not type conversionBut it is more a

Re: [Wicket-user] conversion

2006-05-10 Thread Ittay Dror
yes, after i saw the exception, and looked at the code to find the exact reason, i added the type Johan Compagner wrote: we try to do it: if (object instanceof String) { // and that String is not empty final String string = (String)object;