Hi Peter,

the issue is caused by this bug:

http://bugzilla.qooxdoo.org/show_bug.cgi?id=7008

The 'check' key of the property definition isn't parsed correctly so the 
API data generation doesn't know it's a boolean property.


Regards,
Daniel

On 11/19/2012 03:11 PM, Peter Schneider wrote:
> Hi,
>
> it seems that the "toggle"-member of Boolean properties are not documented
> at all. (API-generator issue?!?)
>
> My case seems to be only a dependent issue, then.
>
> /Peter
>
> On 11/19/2012 1:58 PM Peter Schneider wrote:
>> Hi List,
>>
>> after a migration to qooxdoo 1.2 I found some "warning" symbols in my
>> API-Documentation, that I don't know how to fix.
>>
>>
>> I have overwritten the "toggleValue" method (automatically generated
>> property-method of qx.ui.form.ToggleButton#value property) in my derived 
>> class.
>> But now the generated API-Browser complains about missing documentation
>> (see Attachment).
>>
>>
>> Shouldn't the documentation be taken from the base-class' method? Although it
>> has been generated at startup which might complicate things.
>>
>> My class definition looks like this (simplification):
>> <code>
>> qx.Class.define("app.ui.form.SpecializedCheckBox",
>> {
>>    extend : qx.ui.form.CheckBox,
>>
>>    properties :
>>    {
>>      different : {
>>        check : "Boolean",
>>        init  : false
>>      }
>>    },
>>
>>    members :
>>    {
>>      // overwritten
>>      toggleValue : function ()
>>      {
>>        if (this.isDifferent()) {
>>          // Behave different
>>          // ...code omitted for clarity
>>        } else {
>>          // behave 'normal'
>>          this.base(arguments);
>>        }
>>      }
>>    }
>> });
>> </code>
>>
>>
>> Regards,
>>    Peter
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to