[qooxdoo-devel] ajax request problem

2010-05-07 Thread uglyhunK
Hi, This is what I was set out to do. But stuck in the first step itself. - send a HTTP GET request to yahoo search api request using "qx.io.remote.Request" - marshal json response into a model using "qx.data.marshal.Json" - create a controller and bind the model to UI widget Twitter tutorial d

Re: [qooxdoo-devel] Problem with "refreshing" remote table.

2010-05-07 Thread Nick Watkins
While I did duplicate the circumstances of my error, I'm not getting the same error message in the playground. http://tinyurl.com/2w2ealv http://tinyurl.com/2w2ealv I'm not sure if this is a result of my snippet being inadequate or what. Regardless, the lesson I learned from my original problem

[qooxdoo-devel] MResizable onresize event?

2010-05-07 Thread Greg Beaver
Hi, Is there any reason the MResizable mixin doesn't have a way to access the new size of whatever has been resized? This could be either as an event, or by making the width/height used internally by MResizable into properties if the user requests to track them. This would make it really easy to

Re: [qooxdoo-devel] Getting browser to save user name and password

2010-05-07 Thread flj
Hi. I am not a big qooxdoo specialist, but I think I can answer this. Saving user name and password is not a standardized function. Browsers usually detect when there's a password field in a form, and offer to store the contents of the form in such cases. However, each browser does it different

Re: [qooxdoo-devel] Getting browser to save user name and password

2010-05-07 Thread flj
Hi. I am not a big qooxdoo specialist, but I think I can answer this. Saving user name and password is not a standardized function. Browsers usually detect when there's a password field in a form, and offer to store the contents of the form in such cases. However, each browser does it different

[qooxdoo-devel] getData error (blind newb question)

2010-05-07 Thread wgw
I'm learning qx 1.1 by combining the drag-drop list demo with the tree demo so that I will have a drag-drop tree demo. I want to be able to construct one tree (as is in the tree demo) and then drag items from that tree to another tree (as in the list demo). Everything seems to work fine until t

[qooxdoo-devel] It is wrong to use window.location.href ?

2010-05-07 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, It is wrong to use window.location.href ? Is there known issue using that js code ? Thanks ! -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https:/

Re: [qooxdoo-devel] Decimal separator issue

2010-05-07 Thread thron7
On 05/07/2010 05:07 PM, Peter Schneider wrote: > Hi, > > shouldn't this.tr("cldr_number_decimal_separator") give the right > one? Although the "tr" method returns a qx.locale.LocalizedString object it > should be easy to convert it to native JavaScript String, or am I missing > something? > >

Re: [qooxdoo-devel] Switching Widgets during Runtime

2010-05-07 Thread thron7
Picking up on the "chrome" of this posting... On 05/07/2010 04:32 PM, Stephan Hermann wrote: > this will be my first mail to the qooxdoo ML and before I start to > questioning you, I want to say "Thank You" to you developers of Qooxdoo > (when you are working for 1&1 and you are living in Karlsruh

Re: [qooxdoo-devel] Decimal separator issue

2010-05-07 Thread Jean-Baptiste BRIAUD -- Novlog
On 7 mai 2010, at 17:04, Daniel Wagner wrote: > Hi Jean-Baptiste, > > qx.locale.Number.getDecimalSeparator() should suit your needs :) > > > Regards, > Daniel Thanks Daniel, qooxdoo style : simple :-) -- ___

Re: [qooxdoo-devel] image combining (qooxdoo 1.1-pre)

2010-05-07 Thread thron7
D'oh! You are right, and I was cracking my head why I didn't get any exceptions on that. Turns out, after I moved the modules, there were still the corresponding *.pyc files around that keept my test running :). Fixed in r22152. Thanks again, T. On 05/07/2010 04:03 PM, Peter Schneider wrote: > H

Re: [qooxdoo-devel] Selenium and qooxdoo

2010-05-07 Thread Daniel Wagner
Hi, you can use Selenium's waitForCondition command to pause until the widget is visible: // after clicking the page button selenium.waitForCondition("selenium.getQxWidgetByLocator('qxh=qx.ui.tabview.TabView/child[1]/qx.ui.form.Button').getVisibility() == 'visible'", 5000); Regards, Daniel

Re: [qooxdoo-devel] Switching Widgets during Runtime

2010-05-07 Thread Stephan Hermann
Hi Jim, On Fri, 7 May 2010 07:59:04 -0700 Jim Hunter wrote: > Welcome to qooxdoo! You are going to love the framework, and as you > say "It IS easy to work with". Yes :) Coming from the Trolltech Qt side of life, I find Qooxdoo really straight forward. (TBH, I don't like browser javascript in

Re: [qooxdoo-devel] Decimal separator issue

2010-05-07 Thread Peter Schneider
Hi, shouldn't this.tr("cldr_number_decimal_separator") give the right one? Although the "tr" method returns a qx.locale.LocalizedString object it should be easy to convert it to native JavaScript String, or am I missing something? var str = "" + this.tr("cldr_number_decimal_separator"); Cheers

Re: [qooxdoo-devel] Decimal separator issue

2010-05-07 Thread Daniel Wagner
Hi Jean-Baptiste, qx.locale.Number.getDecimalSeparator() should suit your needs :) Regards, Daniel Jean-Baptiste BRIAUD -- Novlog schrieb: > Hi, > > Is there a way to know what is the decimal separator as it depends on local ? > > I set up a filter on TextField to force number : > setFilter(/

Re: [qooxdoo-devel] Switching Widgets during Runtime

2010-05-07 Thread Derrell Lipman
On Fri, May 7, 2010 at 10:32, Stephan Hermann wrote: > The space widget2 occopies is lost space. What I want to do is to > "replace widget2 with widget1" so that only one item is shown during > runtime, at the same place as widget1. > Instead of using widget.hide(), use widget.exclude(). That wi

Re: [qooxdoo-devel] Switching Widgets during Runtime

2010-05-07 Thread Jim Hunter
Welcome to qooxdoo! You are going to love the framework, and as you say "It IS easy to work with". For your need, there are 2 ways to solve it. SInce you are using a VBox, you can set the visibility of one widget to "excluded" and the other to "visible". That might work well. If that doesn't do ex

[qooxdoo-devel] Decimal separator issue

2010-05-07 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, Is there a way to know what is the decimal separator as it depends on local ? I set up a filter on TextField to force number : setFilter(/[0-9\.]/); Unfortunately, it is sometimes a comma, sometimes a dot... I googled it and found : http://stackoverflow.com/questions/1074660/with-a-browser

[qooxdoo-devel] Switching Widgets during Runtime

2010-05-07 Thread Stephan Hermann
Hello people :) this will be my first mail to the qooxdoo ML and before I start to questioning you, I want to say "Thank You" to you developers of Qooxdoo (when you are working for 1&1 and you are living in Karlsruhe or somewhere near, please get in touch with me to buy you a beer ;)) Now for the

[qooxdoo-devel] Reorganisation of abandoned ProgressBar contrib?

2010-05-07 Thread panyasan
Hi, unfortunately, qooxdoo doen't have a progress bar as a core widget, but there's a contrib project ProgressBar. However, it seems that the project been abandoned a while ago - the latest code is in the 0.8-pre branch (which seems newer than then "trunk"). I managed to run it with some small

Re: [qooxdoo-devel] Reorganisation of abandoned ProgressBar contrib?

2010-05-07 Thread thron7
Sure, Christian, go ahead. If you can give it some love, your welcome. T. On 05/07/2010 03:40 PM, panyasan wrote: > > Hi, > > unfortunately, qooxdoo doen't have a progress bar as a core widget, but > there's a contrib project ProgressBar. However, it seems that the project > been abandoned a w

Re: [qooxdoo-devel] Missing destruct definitions in qx.io.remote.transport.XmlHttp (v1.1)

2010-05-07 Thread Nick Watkins
I was going to start a thread for this, but this seems to be an appropriate place to add these additional missing destruct definitions: Missing destruct definition for '$$user_command' in qx.ui.menu.Button[undefined]: Del Missing destruct definition for '$$user_opener' in qx.ui.menu.Menu[undefin

Re: [qooxdoo-devel] Problem with "refreshing" remote table.

2010-05-07 Thread Christian Hagendorn
Am 06.05.2010 10:33, schrieb Christian Hagendorn: > My first suspicion was that one listener is not removed when an object > is disposed, but with your information I can reproduce the issue, thanks: > http://tinyurl.com/2wmwuga D'oh! I have done a mistake in my example the listen should look like:

Re: [qooxdoo-devel] multiline cells in Tables

2010-05-07 Thread rsantiagopaz
Very good Derrel, thanks. About the 3, yes, I thought in the same way. But by curiosity I need to know if it were predicted in the controllers design. -- View this message in context: http://qooxdoo.678.n2.nabble.com/multiline-cells-in-Tables-tp5009996p5019321.html Sent from the qooxdoo mailing

Re: [qooxdoo-devel] Identifying and Accessing Child Objects

2010-05-07 Thread Derrell Lipman
On Fri, May 7, 2010 at 09:45, coolbloke1324 wrote: > > Hi, > > In my application the user can perform a search. Each search brings up a > separate new window with a tree and a container. Inside the container is a > loading gif image and a label. The container is hidden with .hide(); > > When the

Re: [qooxdoo-devel] image combining (qooxdoo 1.1-pre)

2010-05-07 Thread Peter Schneider
Hi again, after only one small change in qooxdoo/tool/pylib/generator/Generator.py[1] I can report the following: generate distclean OK generate translation OK generate source OK (copy & use of combined images) generate build OK (copy & use of combined images) generate api OK

Re: [qooxdoo-devel] Identifying and Accessing Child Objects

2010-05-07 Thread coolbloke1324
OK, I've sort-of answered this myself: I created a member function: getNodeFromId : function(node, id) { tempNode = node; while (tempNode != null) {

Re: [qooxdoo-devel] passing context to form validation callbacks

2010-05-07 Thread rsantiagopaz
"In the mean time, you can use qx.lang.Function.bind to set the context of your validator function." very good. With this problem I use this rustic solution for example: var context = this; var userNameValidator = function() { context.debug("demo"); return true; } manager.add(username,

[qooxdoo-devel] Identifying and Accessing Child Objects

2010-05-07 Thread coolbloke1324
Hi, In my application the user can perform a search. Each search brings up a separate new window with a tree and a container. Inside the container is a loading gif image and a label. The container is hidden with .hide(); When the user clicks on an item in the tree, I need to be able to show the

[qooxdoo-devel] Reorganisation of abandoned ProgressBar contrib?

2010-05-07 Thread panyasan
Hi, unfortunately, qooxdoo doen't have a progress bar as a core widget, but there's a contrib project ProgressBar. However, it seems that the project been abandoned a while ago - the latest code is in the 0.8-pre branch (which seems newer than then "trunk"). I managed to run it with some small c

Re: [qooxdoo-devel] image combining (qooxdoo 1.1-pre)

2010-05-07 Thread Peter Schneider
Hi Thomas, thanks for your effort, but the current trunk is not working at all. Neither does r22147. I think its 'cause of the "re-org name spaces" in rev 22142-22146... Therefore I have to merge a little bit more manual... I think I can manage to fix those issues I have here, but I can not yet c

Re: [qooxdoo-devel] Problem with "refreshing" remote table.

2010-05-07 Thread Christian Hagendorn
Am 06.05.2010 22:47, schrieb Nick Watkins: > After looking at your example and digging through the stack a little more, I > came to a different conclusion! > > You seemed to have inadvertently discovered a bug inspired by my example, > but my problem was actually completely different after I though

Re: [qooxdoo-devel] Event Propagation of Control-C for copying

2010-05-07 Thread Nick Glencross
Hi, I've been working with a bare-bones script to understand the problem better.  members :   {     main : function()     {   this.base(arguments);   var label =  new qx.ui.basic.Label ('Hello world');   label.setFocusable  (true);   label.setSelectable (true);   this.getRoo

Re: [qooxdoo-devel] Getting browser to save user name and password

2010-05-07 Thread Fink, Andreas
Hi Marius, I'm not sure how the browsers handles their "save username and password"-functionality. But it might be, that the browser needs the name and/or id attribute on the input fields. You can set them manually, have a look at the following example (runs in playground): var userField = ne

Re: [qooxdoo-devel] Issue with a TextField and a numeric value

2010-05-07 Thread Jean-Baptiste BRIAUD -- Novlog
On 7 mai 2010, at 14:08, Fink, Andreas wrote: > Hi, > > what about implementing your own "NumberField" by overwriting the TextField? > The following playground example might give you an idea: > > http://tinyurl.com/354lrg4 > > Regards, > Andreas > Hi Andreas, That's a very good point. I fir

Re: [qooxdoo-devel] Verify the value of a textField, combobox, checkbox and radio button

2010-05-07 Thread Daniel Wagner
Hi Loredana, first of all, welcome to the group! I'm not too familiar with Selenium's HTML-formatted tests, so I don't know if checking for values is possible that way. If you're writing "real" test scripts in Java, Python or JavaScript using Selenium RC, your best bet is to use the getEval me

Re: [qooxdoo-devel] image combining (qooxdoo 1.1-pre)

2010-05-07 Thread thron7
I've added another commit (r22147), hopefully this finishes it off. But this time multiple files are affected, so make sure you update all of them. - Thanks for bringing this up agin. T. On 05/06/2010 04:36 PM, thron7 wrote: > You're right, I'll have a look at it. > > T. > > On 05/06/2010 02:42

Re: [qooxdoo-devel] Issue with a TextField and a numeric value

2010-05-07 Thread Fink, Andreas
Hi, what about implementing your own "NumberField" by overwriting the TextField? The following playground example might give you an idea: http://tinyurl.com/354lrg4 Regards, Andreas > -Ursprüngliche Nachricht- > Von: Jean-Baptiste BRIAUD -- Novlog [mailto:j-b.bri...@novlog.com] > Gesend

Re: [qooxdoo-devel] Selenium and qooxdoo

2010-05-07 Thread Olivier ZORO-BI
Daniel Wagner wrote: > Hi Olivier, > > I think I know where the confusion comes from, I should really have > addressed this when answering your previous question but for some > reason it slipped my mind - sorry. > > qooxdoo widgets can have two kinds of child widgets: > * "public" children that a

[qooxdoo-devel] Verify the value of a textField, combobox, checkbox and radio button

2010-05-07 Thread lore6dana
Hello. I'm new to this group and i apologize if someone already asked this and received an answer, but i did not found it. I tried to do some automated tests using selenium with qooxdoo for this page http://demo.qooxdoo.org/current/showcase/#form http://demo.qooxdoo.org/current/showcase/#form . I

[qooxdoo-devel] Missing destruct definitions in qx.io.remote.transport.XmlHttp (v1.1)

2010-05-07 Thread Peter Schneider
Hello, I always get three debug warnings each time I issue an (asynchronous)RPC call: Missing destruct definition for '$$user_requestHeaders' in qx.io.remote.transport.XmlHttp[undefined]: [object Object] Native.js (Zeile 61) Missing destruct definition for '$$user_parameters' in qx.io.remote.tran

Re: [qooxdoo-devel] Issue with a TextField and a numeric value

2010-05-07 Thread Jean-Baptiste BRIAUD -- Novlog
On 7 mai 2010, at 07:42, MartinWittemann wrote: > > Good Morning, > No, you can't use a number on textfields. You can only use strings. Maybe > you should consider using a spinner because it can take numbers. Or you have > to convert the thing like you already said but there is no auto conversio

Re: [qooxdoo-devel] Selenium and qooxdoo

2010-05-07 Thread Daniel Wagner
Hi Olivier, I think I know where the confusion comes from, I should really have addressed this when answering your previous question but for some reason it slipped my mind - sorry. qooxdoo widgets can have two kinds of child widgets: * "public" children that are added by the application develop

[qooxdoo-devel] Getting browser to save user name and password

2010-05-07 Thread marius123
Hi all, I've been struggling a while now to getting various browsers (FF, IE, Chrome) ask the users whether to save the user name and the password typed into a login form. The login process should be done asynchronously, by using an AJAX request. My first approach of building a qx.ui.form.Form i