[qooxdoo-devel] Form controller and Radiobuttons

2009-12-28 Thread benco
Hello, I was wondering how to get the values of radiobuttons using the form controller. In fact, I'd like to link some different datas that the simple boolean values "checked or not" to the radio buttons. I suppose I should use the addBindingOptions() method but I don't know how to do... For Ins

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Derrell Lipman
On Mon, Dec 28, 2009 at 09:25, Gene Amtower wrote: > Derrell, > > I agree that we should embrace this security measure - it protects us from > the "other" developers. > > However, this touches on another post some months ago, where the IE > security bar blocked an action and then reloaded the en

Re: [qooxdoo-devel] setModelSelection stopped working!

2009-12-28 Thread Jörg Sawatzki
Hi once again, forget it - what I just described was not the issue. The problem was, that the radigroup was disabled - calling rg.setEnabled(true) and then do the rg.setModelSelection(align) works! Jörg Am Montag, den 28.12.2009, 18:12 +0100 schrieb Jörg Sawatzki: > Hi Martin, hi Stefan, > > th

Re: [qooxdoo-devel] setModelSelection stopped working!

2009-12-28 Thread Jörg Sawatzki
Hi Martin, hi Stefan, thanks for your ideas. I finally solved the issue. What I was trying to do: radiogroup.setModelSelection([myobj.getAlign()]); This resulted in: radiogroup.getSelection() == [undefined] (an array with one element which is undefined) Finally, the solution is this: var ali

Re: [qooxdoo-devel] I'm missing .getValue for SelectBoxes

2009-12-28 Thread Dmitry Kozhevin
hey, Sak, a good point btw. I didn't find any way to get few items selected inside SelectBox. There is List for that kind of job. May be we have no getValue() for some historical reason then ;) On Mon, Dec 28, 2009 at 4:58 PM, wrote: > Hi DmitriKo, > > >>There is no any sure about only on

Re: [qooxdoo-devel] I'm missing .getValue for SelectBoxes

2009-12-28 Thread Guilherme Aiolfi
If you set the model property of every SelectBox's item like so: item.setModel(value) [1] You could get the value select using selectBox.getModelSelection() [2] [1] http://demo.qooxdoo.org/devel/apiviewer/#qx.ui.form.MModelProperty~setModel [2] http://demo.qooxdoo.org/devel/apiviewer/#qx.ui.form.M

Re: [qooxdoo-devel] I'm missing .getValue for SelectBoxes

2009-12-28 Thread info
Hi DmitriKo, >There is no any sure about only one value returning from SelectBox. could you tell me how to get more then one? regards Sak > I'd say qx guys are playing well with that stuff. > > There is no any sure about only one value returning from SelectBox. > > You can subclass any widget

Re: [qooxdoo-devel] I'm missing .getValue for SelectBoxes

2009-12-28 Thread Dmitry Kozhevin
I'd say qx guys are playing well with that stuff. There is no any sure about only one value returning from SelectBox. You can subclass any widget easy and write down any syntax sugar as a your homework. ;) -- DmitriKo On Mon, Dec 28, 2009 at 3:26 PM, wrote: > Hi devs, > > i am realy missi

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Gene Amtower
Derrell, I agree that we should embrace this security measure - it protects us from the "other" developers. However, this touches on another post some months ago, where the IE security bar blocked an action and then reloaded the entire page when the user verified the action. In a normal webpage

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Derrell Lipman
On Mon, Dec 28, 2009 at 08:27, Ken MacDonald wrote: > Hi Andreas, > Thanks for the snippet. Unfortunately, IE can tell whether the event > handler was just 'called' or whether it was fired. See the difference in > IE8, making sure that your popup blocker is enabled: > This sounds like a "good th

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Ken MacDonald
Hi Gene, Pretty much right on. To expand a bit more, we have a fairly large body of users who use IE* as their browser, and navigate via the TAB (keyboard) interface, rather than using a mouse. After TABbing to a button, the standard keyboard procedure to invoke the button's function is to hit eit

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Ken MacDonald
Hi Andreas, Thanks for the snippet. Unfortunately, IE can tell whether the event handler was just 'called' or whether it was fired. See the difference in IE8, making sure that your popup blocker is enabled: http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520button1%2520%253D

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Gene Amtower
Andreas, I think it was because his browser security was blocking the event with a confirmation popup when it didn't come from a native click response, and he wanted to avoid the popup confirmation dialog by replicating the mouse click rather than running the code programmatically. I could be mis

[qooxdoo-devel] I'm missing .getValue for SelectBoxes

2009-12-28 Thread info
Hi devs, i am realy missing .getValue for SelectBoxes. I'm understanding that you try to handle the methods more homogeneous. But i think for some objects you did more complicatated as needed. For example the Selectbox. It can have just one Selected value, so why i have to get the value mit .getSe

Re: [qooxdoo-devel] artificially getting to a listener

2009-12-28 Thread Fink, Andreas
Hi Ken, I must confirm, firing a event programmatically is a mystery of qooxdoo ☺ Especially user events like mouse and key events. But why you simply define your handler function like this (tested in playground): var button1 = new qx.ui.form.Button("First Button", "icon/22/apps/internet-web-b

Re: [qooxdoo-devel] setModelSelection stopped working!

2009-12-28 Thread MartinWittemann
Hello Jörg, we intorduced the modelSelection in 0.8.3 with native arrays as data types which was not the best idea for the binding. So we had to move away from the native arrays to data arrays to get the binding working as it should. With that change, the API of the array changed unfortunately. (h