Dietrich Streifert schrieb:
> Hi Adnoh,
>
> you have to set the context in which the eventlistener is executed. Try 
> this:
>
>             rm.addEventListener("changeSelected", function(e) {
>                 this.barview.setBarPosition(e.getData().getValue());
>             },this);
>
>
> The additional parameter of addEventListener sets the context in which 
> the function is executed. The default is the instance from which you 
> invoked addEventListener (here rm). But you want to have the context of 
> your applicatition so you have to set this parameter to "this".
>
>
>   

WOW. Quick response :-)
Thanks a lot ! The namespace / context thing is something hard to 
understand for me.
Works now.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to