Re: [qooxdoo-devel] Build version runs fine, source doesn't run

2009-04-22 Thread Andy Colson
Alexei Vinidiktov wrote: > Hi, > > If I start the *source* version of my qooxdoo application from the > local filesystem it runs fine: > > C:\Webservers51\home\localhost\www\static\source\index.html > > But if I start it from a remote address (the same actual physical > location), I only get a b

Re: [qooxdoo-devel] this reference in callback?

2009-04-06 Thread Andy Colson
Michael Ochs wrote: > Hi, > > I'm trying to load a callback function (after rcp request) and make a > new table model in this callback function. This table model is stored > in this.tableModel but I noticed, that in this case the reference of > this points to Window whereas everywhere else t

Re: [qooxdoo-devel] remote.Request question

2009-04-03 Thread Andy Colson
Derrell Lipman wrote: > On Fri, Apr 3, 2009 at 12:57 PM, ed > wrote: > > I get the code from the test.php displayed > > > This implies a server configuration issue. Instead of running the php > file as a script, it's serving it as data. > Whoa, yeah, I m

Re: [qooxdoo-devel] remote.Request question

2009-04-03 Thread Andy Colson
ed wrote: > This is basically from the Hello World tutorial: > > var button1 = new qx.ui.form.Button("Press me!!", "custom/test.png"); > var doc = this.getRoot(); > doc.add(button1, {left: 100, top: 50}); > > button1.addListener("execute", function(e) { > var req = new qx.io.remote.Request("t

[qooxdoo-devel] closures and memory leaks

2009-04-03 Thread Andy Colson
Hello again all, I'm new to javascript and this closure stuff is messing with me. I'm worried if I create an event listener that binds to an object on screen it'll never get free'd. here is some example code (its not complete): showMain: function() { ... ... table = new qx.ui.table.

Re: [qooxdoo-devel] io.remote.Request works only once when setCrossDomain

2009-04-01 Thread Andy Colson
Derrell Lipman wrote: > On Wed, Apr 1, 2009 at 1:16 PM, Andy Colson <mailto:a...@squeakycode.net>> wrote: > > Derrell Lipman wrote: > > > > if you wanna see it run, you can hit this url: > > > > http://vcsweb.camavision.co

Re: [qooxdoo-devel] io.remote.Request works only once when setCrossDomain

2009-04-01 Thread Andy Colson
Derrell Lipman wrote: > > if you wanna see it run, you can hit this url: > > http://vcsweb.camavision.com/payroll/ > > > This application runs as it appears it should. It does issue the getec > request, and gets back a response with lots of data. I don't see any > timeouts. Can you d

Re: [qooxdoo-devel] io.remote.Request works only once when setCrossDomain

2009-04-01 Thread Andy Colson
Derrell Lipman wrote: On Wed, Apr 1, 2009 at 10:27 AM, Andy Colson <mailto:a...@squeakycode.net>> wrote: Hello again all, I have made good progress, I'm doing rpc calls to the backend and its mostly working. I'm using code like: var req = new qx.io.r

[qooxdoo-devel] io.remote.Request works only once when setCrossDomain

2009-04-01 Thread Andy Colson
Hello again all, I have made good progress, I'm doing rpc calls to the backend and its mostly working. I'm using code like: var req = new qx.io.remote.Request('http://url/rpc.pl', "GET", "application/json"); req.setCrossDomain(true); req.setProhibitCaching(false); req.setParameter("q", "login

Re: [qooxdoo-devel] layout resize or event resize

2009-03-31 Thread Andy Colson
Thanks to all who answered. This layout stuff is not easy to pickup. (And I have not done java layout stuff so dont even have that background) Derrell Lipman wrote: > You are setting a fixed size for 'main' here. The size you're giving it > is the viewport's initial width and height. Is that r

[qooxdoo-devel] layout resize or event resize

2009-03-30 Thread Andy Colson
Hi List, I'm new to qooxdoo, and I don't understand resize. In the demo browser if you resize the window, everything redraw's to the new size. I have some test code but when I resize the browser it does not resize/redraw. in my Application.js I have this: var main = new qx.ui.container.Composi