Re: [qooxdoo-devel] SelectBox and getModelSelection

2016-02-17 Thread rsantiagopaz
  var modelSelection = (selectBox.isSelectionEmpty()) ? 2 :
selectBox.getModelSelection().getItem(0);
  selectBox.removeAll();
  [{ID: 1, name: 'Test ' + Math.random()},{ID: 2, name: 'Test ' +
Math.random()},{ID: 3, name: 'Test ' +
Math.random()}].forEach(function(item){
selectBox.add(new qx.ui.form.ListItem(item.name, null, item.ID));
  },this);
  selectBox.setModelSelection([modelSelection]);


regards



--
View this message in context: 
http://qooxdoo.678.n2.nabble.com/SelectBox-and-getModelSelection-tp7587989p7588022.html
Sent from the qooxdoo mailing list archive at Nabble.com.

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140
___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] SelectBox and getModelSelection

2013-07-16 Thread Mustafa Sak
Hi Daniel,

looks like a bug for me. Please open one at http://bugs.qooxdoo.org/

Gruß
Mustafa Sak

Applications  Integration

11 Internet AG
Ernst-Frey-Straße 10
DE-76135 Karlsruhe

Von: Daniel Lenggenhager [mailto:qoox...@ctool.ch]
Gesendet: Dienstag, 16. Juli 2013 14:30
An: qooxdoo-devel@lists.sourceforge.net
Betreff: [qooxdoo-devel] SelectBox and getModelSelection

Hi,

Maybe it's a bug...
Playground: http://tinyurl.com/pzsvymj

Select an other ListItem in the SelectBox and then again to the first one (with 
the model value: null).
getModelSelection doesn't accept the change to the value: null.

Regards
Daniel
--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


Re: [qooxdoo-devel] SelectBox and getModelSelection

2013-07-16 Thread Daniel Lenggenhager

Hi Mustafa

Done.
Bug 7565

Thanks for your feedback.
Daniel

Am 16.07.2013 15:24, schrieb Mustafa Sak:


Hi Daniel,

looks like a bug for me. Please open one at http://bugs.qooxdoo.org/

Gruß

Mustafa Sak

Applications  Integration

11 Internet AG

Ernst-Frey-Straße 10

DE-76135 Karlsruhe

*Von:*Daniel Lenggenhager [mailto:qoox...@ctool.ch]
*Gesendet:* Dienstag, 16. Juli 2013 14:30
*An:* qooxdoo-devel@lists.sourceforge.net
*Betreff:* [qooxdoo-devel] SelectBox and getModelSelection

Hi,

Maybe it's a bug...
Playground: http://tinyurl.com/pzsvymj

Select an other ListItem in the SelectBox and then again to the first 
one (with the model value: null).

getModelSelection doesn't accept the change to the value: null.

Regards
Daniel



--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk


___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel


--
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk___
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel