On 04/29/2010 11:21 AM, Eduardo Robles Elvira wrote:
> Hello,
> 
> I've got a class (WizardStep) which inherits from
> qx.ui.container.Composite, and for convenience I've overriden the
> add() method in WizardStep to add an item to an internal form instead
> of adding item to the composite directly. But in the constructor of
> the WizardStep I want to call the original
> qx.ui.container.Composite#add function, and the only way to do it that
> I've found is:
> 
> qx.ui.container.Composite.prototype.add.call(this, widget);
> 
> In qooxdoo documentation [1] it doesn't talk about how to call an
> overriden method from another one (for example how to call the

Did you mean [1] to point to
http://qooxdoo.org/documentation/1.1/classes#inheritance ?

> overriden add() method from my constructor, as in my case). Is there
> any better way to do that than the one above?
> 
> Regards,
>    Eduardo Robles Elvira.
> ---
> Artesanos del Software
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> 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