Hi,

to disable the selection of ListItems (of Form.List, qooxdoo 2.1.1) I use this 
code:

list.addListener("changeSelection", function() {
 list.resetSelection();
}, this);


This causes a stack overflow when executed.



This does work:

var clrSel = function() {
  list.addListenerOnce("changeSelection", function() {
    list.resetSelection();
    clrSel();
  }, this);

clrSel();
--------------------------


What is the right way to prevent selecting a list item? I use the list as a log 
view, so I want to switch off the item selection. I didn't found a "none" 
selection mode.


cheers,
 Michael


------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to