Re: [qooxdoo-devel] Attempting to split Application.js

2014-02-23 Thread Peter Caffin
On Sun, 23 Feb 2014, thron7 wrote: > Is it Dialog.js or Dialogs.js? Dialogs.js Does the filename actually make a difference? > Are you sure 'generate.py source' doesn't emit any warnings? It does list this one warning, but I didn't think it was relevant to the topic. - Warning: padded_onlin

Re: [qooxdoo-devel] dereferencing (or whatever it is called) a variable's value

2014-02-23 Thread Alex Gölkel
Hi, you could set userdata to your widgets and use the target, which is passed in the event args: var myObjectArray = []; var changeSelectionHander = function(e) { var widget=e.getTarget(); var rowIndex = widget.getUserData("rowIndex

Re: [qooxdoo-devel] dereferencing (or whatever it is called) a variable's value

2014-02-23 Thread Keve Nagy
> Your problem is with the scope of variables and the closures you generate > (the listener function you define generates a closure because it references > variables from outside the function). > http://stackoverflow.com/questions/643542/doesnt-javascript-support-closures-with-local-variables/

Re: [qooxdoo-devel] dereferencing (or whatever it is called) a variable's value

2014-02-23 Thread Rob Franken
Dear Keve, Your problem is with the scope of variables and the closures you generate (the listener function you define generates a closure because it references variables from outside the function). http://stackoverflow.com/questions/643542/doesnt-javascript-support-closures-with-local-variables/6

[qooxdoo-devel] dereferencing (or whatever it is called) a variable's value

2014-02-23 Thread Keve Nagy
Good Evening Everyone! I need a little help from someone more experienced in JavaScript than I am. A row of my qx objects (a SelectBox, a Widget, and another SelectBox) are needed to be repeated on screen multiple times, and I am trying to define them using a loop. My plan is to define an array,

Re: [qooxdoo-devel] Attempting to split Application.js

2014-02-23 Thread thron7
Is it Dialog.js or Dialogs.js? Are you sure 'generate.py source' doesn't emit any warnings? T. On Tue, Feb 18, 2014 at 4:55 PM, Peter Caffin wrote: > Hi guys. > > I'm using Qooxdoo 3.0.1, and trying to split my Application.js. It's not > working, and I'm probably doing (or not doing) something o

Re: [qooxdoo-devel] Locale - combination of multiple locales

2014-02-23 Thread thron7
On Wed, Feb 12, 2014 at 9:22 AM, kirra5 wrote: > Hi > > Is it possible to combine/use different locale information on two parts of > the same application? > > *For example:* the whole application should have the locale "en", but a > specific part (this can be, for example, a form) of the applicati

Re: [qooxdoo-devel] How do I get the string of a SelectBox's selected item?

2014-02-23 Thread Fritz Zaucker
Welcome ... Fritz Zaucker Oetiker+Partner AG Aarweg 15 CH-4600 Olten +41 62 775 9903 > Am 23.02.2014 um 17:12 schrieb Keve Nagy : > > > >> I don't have the docu on hand, but it's either getSelection()[0].getValue() >> or .getModel() or .getLabel() > > The .getLabel() is the one I needed. >

Re: [qooxdoo-devel] How do I get the string of a SelectBox's selected item?

2014-02-23 Thread Keve Nagy
> I don't have the docu on hand, but it's either getSelection()[0].getValue() > or .getModel() or .getLabel() The .getLabel() is the one I needed. // var mySelectBox = new qx.ui.form.SelectBox(); mySelectBox.add(new qx.ui.form.ListItem("Blue Bus")); mySelectBox.add(new qx.ui.form.ListItem("Red

Re: [qooxdoo-devel] How do I get the string of a SelectBox's selected item?

2014-02-23 Thread Keve Nagy
> I don't have the docu on hand, but it's either getSelection()[0].getValue() > or .getModel() or .getLabel() The .getModel() method does exist. But from its name, I would have never guessed that this is the one that returns the string. I give it a try anyway. ;-) Thanks Fritz! Regards, Keve

Re: [qooxdoo-devel] How do I get the string of a SelectBox's selected item?

2014-02-23 Thread Fritz Zaucker
I don't have the docu on hand, but it's either getSelection()[0].getValue() or .getModel() or .getLabel() Cheers, Frirz Fritz Zaucker Oetiker+Partner AG Aarweg 15 CH-4600 Olten +41 62 775 9903 > Am 23.02.2014 um 16:46 schrieb Keve Nagy : > > Good Afternoon Everyone! > I may need some help with

[qooxdoo-devel] How do I get the string of a SelectBox's selected item?

2014-02-23 Thread Keve Nagy
Good Afternoon Everyone! I may need some help with how to get the string of a SelectBox's selected item. var mySelectBox = new qx.ui.form.SelectBox(); mySelectBox.add(new qx.ui.form.ListItem("Blue Bus")); mySelectBox.add(new qx.ui.form.ListItem("Red Radio")); mySelectBox.add(new qx.ui.form.ListI

Re: [qooxdoo-devel] Scrolling and zooming on different mobile devices

2014-02-23 Thread Dragonheart
Just as I said in the first post - I test it on iPhone 4s with 960px vertical resolution. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Scrolling-and-zooming-on-different-mobile-devices-tp7585347p7585366.html Sent from the qooxdoo mailing list archive at Nabble.com. ---