...like Derrell said, the value you are setting is not 'NULL'.
Here some examples how to create some (not-null) values:

var x =  1/0;  // => x is Infinity
var x = -1/0;  // => x is -Infinity
var x =  0/0;  // => x is NaN       (Not A Number)
var x;         // => x is undefined
var x = null;  // => x is null      (obvious, right ;) )

with the exception of the last example all these values are "not null".


On 6/26/2013 7:43 PM Vladimir Lipets wrote:
> Hello,
> 
> I faced following problem. 
> I defined the property "myvalue" as follows:
> 
>       myvalue: {
>                                       check : "Integer",
>                                       nullable : true,
>                                       init : null,
>                                       event : "changeDailyReport4"
>                               },
> 
> However, when i set it to null, i obtain an error:
> 
> 005983 Assertion error! Invalid incoming value for property 'myvalue' of 
> class 'fms3.page.DailyReport': Expected value to be an integer but found NaN! 
> Stack trace: 
> 
> I dont understand why it happen, when the value is set to be "nullable"
> 
> Thank you

***********************************************
Achtung, wir sind umgezogen!
Unsere neue Adresse:
TIS GmbH
Müller-Armack-Str. 8
46397 Bocholt
***********************************************

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to