Hi,

 From the playground, the following code fails.
If var v = 12; is replaced by var v = "12" it works.

Is it a bug ? In case it is a feature, how can I know v is or not a  
text, I though javascript was not typed ?

as a workaround, can I w.setValue(""+v); ? Will that work on any cases  
to convert whatever v is to a string ?

// Create a button
var w = new qx.ui.form.TextField();

// Document is the application root
var doc = this.getRoot();

// Add button to document at fixed coordinates
doc.add(w,
{
left : 100,
top  : 50
});

var v = 12;
w.setValue(v);

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to