On Mon, Oct 26, 2009 at 05:05, Fabian Jakobs <[email protected]> wrote:

> button.addListener("execute", qx.lang.Function.bind(function(key){
>     alert("Good:" + data[key].label);
>   }, this, key));
> }
>
>
> This creates a wrapped function in place and binds the first parameter
> to the current value of key.
>
>
I like Fabian's solution better than the one I posted.

Derrell
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to