sorry for interrupting again ;)

A very good read on this topic is this chapter here:

http://books.google.de/books?id=6TAODdEIxrgC&lpg=PP1&hl=de&pg=PA33#v=onepage&q&f=false

of the "Java Script - The definitive guide" ( *the* Book on JavaScript) Pages
33 and 34.



On 6/27/2013 9:10 AM Peter Schneider wrote:
> ...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