Hi,
portableJesus wrote:
> I'm new to OO Javascript, so please have a little patience :)
Welcome to the project! You're not alone there, I spent a couple years
thinking I was quote JavaScript savy before I discovered OO JavaScript.
> What I'm doing wrong?
There isn't anything wrong with the code that you have provided. It is
more likely a problem in the way you are calling _pluto, or in the code
around the call to _pippo.
> members : {
> _pluto : function ()
> {
> ...
> this._pippo();
> ...
> },
>
> _pippo : function ()
> {
> ...
> }
> }
>
> Result:
>
> this._pippo is not a function
It might be the case that you are calling this._pippo() inside an event
handler but haven't set the context correctly, or (as Jean-Noël
suggested) you are trying to call a function dirrectly rather than
creating an instance of the class first. If you could provide more code
that we should be able to help you better.
> Thank u for help
HTH,
Matt
------------------------------------------------------------------------------
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance & Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel