Hello Mike,

this behavior is like we want it to be. The TextField only accepts  
Strings as values. All other types will cause such an exception.

Regards,
Martin


Am 02.04.2009 um 20:04 schrieb mshillin:

>
> Calling qx.ui.form.Textfield.setValue(null)
>
> throws an exception
>
> [Exception... "'Error: Invalid value type: null' when calling method:
> [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001c
> (NS_ERROR_XPC_JS_THREW_JS_OBJECT)" location: "<unknown>" data: no]
>
> This is different from 0.7.x where setting a textfield value to null  
> would
> clear the textfield.
>
> Is this a bug - or "Works As Designed"?
>
>
> Thanks
> Mike Shillinger
>
> -- 
> View this message in context: 
> http://www.nabble.com/Textfield.setValue%28null%29-throws-Exception-in-.0.8.2-but-not-0.7.x-tp22853793p22853793.html
> Sent from the qooxdoo-devel mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to