Re: [qooxdoo-devel] commands recommended by tutorial return invalid

2013-05-05 Thread Mária Jurčovičová
That was it, thank you. I have seen qooxdoo mentioned on some page and was much impressed by its demo application speed. On Sun, May 5, 2013 at 8:39 AM, thron7 wrote: > Hi, > > it might be that your system is not runing the Python interpreter with the > given scripts. Try prefixing the command

Re: [qooxdoo-devel] commands recommended by tutorial return invalid

2013-05-04 Thread thron7
Hi, it might be that your system is not runing the Python interpreter with the given scripts. Try prefixing the command with 'python', like python tool\bin\create-application.py --type=mobile ... T. > Hi all, > > I just downloaded qooxdoo-2.1.1-sdk and wanted to follow this tutorial: > http:

[qooxdoo-devel] commands recommended by tutorial return invalid

2013-05-04 Thread Mária Jurčovičová
Hi all, I just downloaded qooxdoo-2.1.1-sdk and wanted to follow this tutorial: http://manual.qooxdoo.org/2.1/pages/mobile/tutorial.html . I'm on windows and `python -V` returns: Python 2.7.2 According to the tutorial, I should use Python version 2.5 or above and run following command: tool

Re: [qooxdoo-devel] commands

2008-09-03 Thread Philippe Poulard
Fabian Jakobs a écrit : > Philippe Poulard schrieb: >> Hi, >> >> I try to set a command on a button: >> var okButton = new qx.ui.form.Button(this.tr("OK"), >> "icon/16/actions/dialog-ok.png"), new qx.event.Command("Enter")); >> >> but it doesn't work; I also tried "+Enter" >> >> It is specified in

Re: [qooxdoo-devel] commands

2008-09-03 Thread Fabian Jakobs
Philippe Poulard schrieb: > Hi, > > I try to set a command on a button: > var okButton = new qx.ui.form.Button(this.tr("OK"), > "icon/16/actions/dialog-ok.png"), new qx.event.Command("Enter")); > > but it doesn't work; I also tried "+Enter" > > It is specified in the doc > http://qooxdoo.org/docum

[qooxdoo-devel] commands

2008-09-03 Thread Philippe Poulard
Hi, I try to set a command on a button: var okButton = new qx.ui.form.Button(this.tr("OK"), "icon/16/actions/dialog-ok.png"), new qx.event.Command("Enter")); but it doesn't work; I also tried "+Enter" It is specified in the doc http://qooxdoo.org/documentation/0.8/ui_interaction that a complete

Re: [qooxdoo-devel] Commands and Events

2006-03-14 Thread Ulrich Schreiner
no problem. i always add the handler to the QxMenuButton btn.addEventListener ("execute", function (e) { ... }) in this case you do a e.getTarget() ... some thoughts: in your code you put the event name as a parameter (curItem.event -> "execute") but inside your function you always instancia

Re: [qooxdoo-devel] Commands and Events

2006-03-14 Thread Patrick W. Fraley
Hi, thanks that helped, just had to change the e.getTarget().getUserData('url') to e.getData().getUserData('url') Patrick Ulrich Schreiner schrieb: hi, perhaps i'm wrong but i think your local function curItem.cmd.addEventListener(curItem.event, function(e) { document.location = curItem

Re: [qooxdoo-devel] Commands and Events

2006-03-14 Thread Ulrich Schreiner
hi, perhaps i'm wrong but i think your local function curItem.cmd.addEventListener(curItem.event, function(e) { document.location = curItem.url; }); binds a reference to the local variable "curItem" which exists only once. after the last iteration this variable points to the last array-item

Re: [qooxdoo-devel] Commands and Events

2006-03-14 Thread BJörn Lindqvist
> for ( var i = 0; i < arrModules.length; i++ ) { > var curItem= arrModules[i]; . > curItem.cmd.addEventListener(curItem.event, > function(e) { > document.location = curItem.url; > }); >

[qooxdoo-devel] Commands and Events

2006-03-14 Thread Patrick W. Fraley
Hi List, I have the following JavaScript to generate Menu's for me based on arrays: // function genMenu( arrModules, objMenu, objDoc, strLink ) // /** * generates a menu with submenues