Re: [qooxdoo-devel] Working on RPC with PHP Backend - Getting NULL return value

2009-03-24 Thread Gene Amtower
Derrell, Phenomenal progress from your instructions. I had seen mention of the Example but failed to locate it in my searches until you gave me the contrib path. I downloaded it, modified the application build files for my local Qooxdoo path, and then transferred everything into my server via FT

Re: [qooxdoo-devel] Working on RPC with PHP Backend - Getting NULL return value

2009-03-24 Thread Derrell Lipman
On Tue, Mar 24, 2009 at 8:59 PM, Derrell Lipman < derrell.lip...@unwireduniverse.com> wrote: > and 'services'. If you're on Linux, the best way is with rsync: > >- mkdir /var/www/test >- rsync -av ./build/ /var/www/test/ > > In your environment, that's probably something like: - mkdir

Re: [qooxdoo-devel] Working on RPC with PHP Backend - Getting NULL return value

2009-03-24 Thread Derrell Lipman
Hi Gene, I can discuss this in more detail tomorrow, but for now here are the set-up steps you should ensure you've followed: 1. Read and follow the instructions in qooxdoo-contrib/RpcPhp/trunk/README.CONFIGURE. For the moment, put services directly in the web server root as specified, not in a "

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread Grykar
Thomas, the root cause of issue was old version 0.8.0 instead of 0.8.2 - thanks for help. Sorry for inconvenience guys Karol thron7-2 wrote: > > No, I don't think it has to do with the time of the method invocation. I > saw from your app that you are using qooxdoo 0.8. 0.8 simply didn't have

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread thron7
No, I don't think it has to do with the time of the method invocation. I saw from your app that you are using qooxdoo 0.8. 0.8 simply didn't have that method in the ToolTip class! It has been added later. I would recommend you upgrade your qooxdoo installation to 0.8.2, migrate your application, a

[qooxdoo-devel] Working on RPC with PHP Backend - Getting NULL return value

2009-03-24 Thread Gene Amtower
Wow, ever go down a long country road only to realize that you're lost and don't where to go next? OK, I'm trying to work through the details of using RPC through qx.io.remote.RPC. I setup the RPC services folder on my web server after downloading the contrib project, and I've read through all of

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread Grykar
Jim, unfortunatelly still doesn't work Karol Jim Hunter wrote: > > I think I ran into this too, you have to call setRich() prior to the > control > being displayed. Once it is displayed you can not change that setting. > Jim > > > On Tue, Mar 24, 2009 at 11:48 AM, Fritz Zaucker > wrote: >

Re: [qooxdoo-devel] Removing rows from a table

2009-03-24 Thread Jim Hunter
It's a new cleaner version. I would rather not have the table constantly update the UI every time I made a change to the data. I would want it to wait until I was ready, then call updateContent(). Hmm, I recall that I always had to call updateContent()? Jim On Tue, Mar 24, 2009 at 1:22 PM, robust

Re: [qooxdoo-devel] Removing rows from a table

2009-03-24 Thread Jim Hunter
Without seeing your code I have no idea why it's not doing what you want. Provide the code that is manipulating the data and I will see if I can spot your issue. Jim On Tue, Mar 24, 2009 at 1:31 PM, robust wrote: > > Jim, > > its not working as expected. WHen I used the updateContent after remo

Re: [qooxdoo-devel] Removing rows from a table

2009-03-24 Thread robust
Jim, its not working as expected. WHen I used the updateContent after removing the two rows, its only removing one row, the other row is still shown. let me know where I am doing wrong. thanks, robust After you make the change to the datamodel, call updateContent() on the table. This is re-syn

Re: [qooxdoo-devel] Removing rows from a table

2009-03-24 Thread robust
Thanks Jim, That worked. But this kind of behavior was not seen before? Do you know the reason? Thanks, Robust After you make the change to the datamodel, call updateContent() on the table. This is re-sync your UI with your data. Jim On Tue, Mar 24, 2009 at 11:52 AM, robust wrote: > > Hel

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread Jim Hunter
I think I ran into this too, you have to call setRich() prior to the control being displayed. Once it is displayed you can not change that setting. Jim On Tue, Mar 24, 2009 at 11:48 AM, Fritz Zaucker wrote: > Well, on the playground it DOES work for me with FireFox. > > However, I vaguely recal

Re: [qooxdoo-devel] Removing rows from a table

2009-03-24 Thread Jim Hunter
After you make the change to the datamodel, call updateContent() on the table. This is re-sync your UI with your data. Jim On Tue, Mar 24, 2009 at 11:52 AM, robust wrote: > > Hello, > > I am just trying to remove few rows from the table. As expected, the rows > are removed from the tableModel.

Re: [qooxdoo-devel] Optimizing for size

2009-03-24 Thread Jim Hunter
Just an FYI, your application does not run in Chrome on a PC. I get a completely blank screen. Jim 2009/3/24 Deepak Mishra > Hi, > I have been experimenting with qooxdoo for a while now. I used it to make a > web application available at - > http://xask.webfactional.com/chargemix/static/charge

Re: [qooxdoo-devel] Optimizing for size

2009-03-24 Thread Roman Schmid
As a follow-up to my post, here's a PHP Script that compresses a requested file using GZIP. http://pastebin.com/m5458fd6f Using a rewrite rule like: RewriteRule ^(.*?)\.(js|html)$ compress.php?file=$1.$2 [NC,L] will automatically route all html and js files through the compress script. Further

[qooxdoo-devel] problem with the getSelectionModel of a table

2009-03-24 Thread robust
Hi, I using a table with the multiple interval selection mode. I am keeping track of the number of rows selected in var selection = []; this._table.getSelectionModel().iterateSelection(function(ind) { selection.push(ind). The problem here is when I unselect a row, its still n

[qooxdoo-devel] Removing rows from a table

2009-03-24 Thread robust
Hello, I am just trying to remove few rows from the table. As expected, the rows are removed from the tableModel. But, the rows are still seen on the UI. Though they are seen I cannot make any action against them. How to remove the rows from the UI too? Thanks, Robust -- View this message

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread Fritz Zaucker
Well, on the playground it DOES work for me with FireFox. However, I vaguely recall something that setRich() only works when creating the widget. I am not sure if this was or is still true, but try this: var tt5 = new qx.ui.tooltip.ToolTip("A long label text with auto-wrapping. "

[qooxdoo-devel] How to create inline html widget.

2009-03-24 Thread syednavedali
I am trying to create an inline html login form by using "demobrowser.demo.animation.Login" but unable to succed. the browser is displaying a error saying "" Given below is my html code and Application.js code (Please help me in running this code) HTML __ http://www.w3.org/TR/xhtml11

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread thron7
I'll have a look. T. Grykar wrote: > :-) > It doesn't work under FireFox nor IE. I tested on 0.8.0 and 0.8.2. Moreover > build version return the same error. > F.setRich is not a function > > I purged cache both browser and QooXdoo. > I have no idea what is wrong. > > please look > http://famil

Re: [qooxdoo-devel] Optimizing for size

2009-03-24 Thread Petr Kobalíček
Hi, your application looks good, but you are right that's really slow :( On my 1.6Ghz machine time between dialogs is about 5 seconds (winxp/ff3). If you want improve performance you can try different theme or build your own. Another thing I want to point out is your background picture, it's abo

Re: [qooxdoo-devel] Optimizing for size

2009-03-24 Thread Roman Schmid
Hi Deepak Using gzip compression for the client-server file-transfer will greatly reduce file size. My 900k qooxdoo build reduced to 224k with gzip compression. If you have access to your webserver configuration (and if it's an apache webserver), I encourage you to have a look at mod_deflate: htt

Re: [qooxdoo-devel] Optimizing for size

2009-03-24 Thread thron7
Hi Deepak, 1. Which version of qooxdoo are you using? 0.8.x? Both the 0.7.x and 0.8.x lines of qooxdoo offer various optimization vectors (strings, variables, privates,...). - Have you tried enable these when you create the build version of your app? 2. If these means are exhausted, qooxdoo 0.

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread Grykar
:-) It doesn't work under FireFox nor IE. I tested on 0.8.0 and 0.8.2. Moreover build version return the same error. F.setRich is not a function I purged cache both browser and QooXdoo. I have no idea what is wrong. please look http://family3.org/test/source/index.html there is the source htt

[qooxdoo-devel] Optimizing for size

2009-03-24 Thread Deepak Mishra
Hi, I have been experimenting with qooxdoo for a while now. I used it to make a web application available at - http://xask.webfactional.com/chargemix/static/chargemix/inde x.html

Re: [qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread thron7
I've tried your code in Playground - works perfectly! :-\ T. Grykar wrote: > Hi > > I tryied use example of qx.ui.tooltip.ToolTip from Demo browser. Generally > it works except example below > > var tt5 = new qx.ui.tooltip.ToolTip("A long label text with > auto-wrapping. " > + "Th

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Amit Rana
Hi, Sorry for so many mails but I can't help it as I keep discovering new things in Qooxdoo. :-) I was not getting the indicator at the correct position in the playground application. But, when I integrated the same in my actual code, I am getting the indicator correctly (except when I hover o

[qooxdoo-devel] ToolTip... setRich is not a function

2009-03-24 Thread Grykar
Hi I tryied use example of qx.ui.tooltip.ToolTip from Demo browser. Generally it works except example below var tt5 = new qx.ui.tooltip.ToolTip("A long label text with auto-wrapping. " + "This also may contain rich HTML markup " + "and with a (show) timeout of 50ms.",

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Christian Schmidt
Hi Fritz, I'm working on an example for that, but it isn't very well. I have attached my current solution. Have a look into the "drag" listener, it shows how to get the correct TreeFolder for the indicator possition. Cheers, Chris Fritz Zaucker schrieb: Hi Amit, cool, all solved except

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Amit Rana
Hi, I noticed a bug and would like to highlight it. In the tree, if you do parent.addBefore(src, dest), the actually the new node src gets added AFTER dest and not before as desired. The solution is to do: parent.remove(src); parent.addBefore(src, dest); Now, my tree drag-drop is working almos

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Fritz Zaucker
Hi Amit, On Tue, 24 Mar 2009, Amit Rana wrote: >> 3) The for loop in the drop listener is probably not needed, as in a tree >> only one Folder can be selected at a time, so sel.length is always 1. So >> I guess this could be simplified a bit. >> >> > Yeah... I changed it to orig.getParent

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Fritz Zaucker
Hi Amit, cool, all solved except for the indicator position. May be the Qooxdoo-gods of 1&1 will be able to help ... Chris? Thanks, Fritz On Tue, 24 Mar 2009, Amit Rana wrote: > Hi, > > Amit Rana wrote: >> Hi Fritz, >> >> Fritz Zaucker wrote: >> >>> Hi Amit, >>> >>> thanks for coming up with

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Amit Rana
Hi, Amit Rana wrote: Hi Fritz, Fritz Zaucker wrote: Hi Amit, thanks for coming up with the code snippet. For dropping to work in the drop-listener you must replace the line this.addBefore(sel[i], orig); //error - this.addBefore is not a function with orig.getParent().addBefor

Re: [qooxdoo-devel] Icons from file

2009-03-24 Thread thron7
Greken wrote: > Hi! > I'm developing a RAP application where I use Qooxdoos tree structure in a > custom widget. I want to have icons for each node in the tree. When using > the code line > "var trs = qx.ui.tree.TreeRowStructure.getInstance().standard("Documents > (D:)", "icon/16/devices/drive-h

[qooxdoo-devel] Icons from file

2009-03-24 Thread Greken
Hi! I'm developing a RAP application where I use Qooxdoos tree structure in a custom widget. I want to have icons for each node in the tree. When using the code line "var trs = qx.ui.tree.TreeRowStructure.getInstance().standard("Documents (D:)", "icon/16/devices/drive-harddisk.png");" from the d

Re: [qooxdoo-devel] Drag/drop on Tree

2009-03-24 Thread Amit Rana
Hi Fritz, Fritz Zaucker wrote: > Hi Amit, > > thanks for coming up with the code snippet. > > For dropping to work in the drop-listener you must replace the line > > this.addBefore(sel[i], orig); //error - this.addBefore is not a function > > with > > orig.getParent().addBefore(sel[i], o

Re: [qooxdoo-devel] Connect two points with a line, cross-browser compatible?

2009-03-24 Thread Helder Magalhães
> > I have created the framework for a simple scalable vector graphics > > class. Eventually I intend to have "engines" that generate the actual > > graphics in the most efficient way given the requirements of the > > application. Engines might include Canvas, SVG, etc. This sounds pretty cool.

[qooxdoo-devel] Refactored JavaRpc - initial release

2009-03-24 Thread Michael Wyraz
Hi, I have committed my work at JavaRpc/branches/test. You can check it out as eclipse project. It contains an ant build script as well. The project is still incomplete. The servlet is still missing and the json/java conversions are not finished yet. Also many of the test cases are still missing