and how can i remove all listeners?
i try this
widget.getSelection().addListener("change", loadProduktDetailData);
the las is a functionname, but it dosent run:( What is wrong?
thank you
> Hi,
>
> you can't remove one listener without the reference from function you
> try to remove.
> Rewrite your code by using a class method or save the reference from the
> method and remove this later.
>
> Cheers,
> Chris
>
> Am 22.12.2011 12:56, schrieb [email protected]:
>> Hi,
>>
>> how can i remove a listener, i have defined like this
>>
>> this.widgets["PRODUKTID"].addListener("change",
>> function(e) {
>> this.loadProduktDetailData();
>> }, this);
>>
>> thank you
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Write once. Port to many.
>> Get the SDK and tools to simplify cross-platform app development. Create
>> new or port existing apps to sell to consumers worldwide. Explore the
>> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
>> http://p.sf.net/sfu/intel-appdev
>> _______________________________________________
>> qooxdoo-devel mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
> ------------------------------------------------------------------------------
> Write once. Port to many.
> Get the SDK and tools to simplify cross-platform app development. Create
> new or port existing apps to sell to consumers worldwide. Explore the
> Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
> http://p.sf.net/sfu/intel-appdev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel