[qooxdoo-devel] Generator bug (kind of)

2010-08-19 Thread Fritz Zaucker
Hi, the following worked for me with pre1.3 until I did an svn update last night (hadn't updated for a few days). It fails with 1.2.0 and with the current trunk (I am not sure that it will always fail): Create two classes myapp.Ticket.Test (.../source/class/myapp/Ticket/Test.js)

[qooxdoo-devel] Tooltip or Mini Widget for table cells / rows

2010-08-19 Thread Mustafa Sak
Is their any way to show tooltip or may be a small widget with mouse events to show meta data of remote table rows? I mean if no tooltip support exists, how could a custom class look like to bind a widget to mouse movements and more important how to determine that the mouse is over a specific c

Re: [qooxdoo-devel] save / load Table's scroll position

2010-08-19 Thread Derrell Lipman
On Thu, Aug 19, 2010 at 03:37, Daniel Hirtzbruch wrote: > > Hello, > > I'm currently implementing a mechanism to save a user's current frontend > view on logout / leave for reloading it when the user re-appears to my app. > > 'm now stuck at a imho rather basic problem - saving and loading a large

Re: [qooxdoo-devel] what is qx.util.Validate.required

2010-08-19 Thread Mustafa Sak
Upps.. i didn't see Martins reply! SAKsystems Inh. Mustafa Sak Varrelmannstr. 16 30453 Hannover Tel. +49 511 / 165 969 40 Fax +49 511 / 165 969 49 Mobil +49 163 / 312 6144 http://www.saksys.de i...@saksys.de STEUER-Nr. 2613817458 _ Vo

Re: [qooxdoo-devel] what is qx.util.Validate.required

2010-08-19 Thread Mustafa Sak
Any Idea? SAKsystems Inh. Mustafa Sak Varrelmannstr. 16 30453 Hannover Tel. +49 511 / 165 969 40 Fax +49 511 / 165 969 49 Mobil +49 163 / 312 6144 http://www.saksys.de i...@saksys.de STEUER-Nr. 2613817458 _ Von: Mustafa Sak [mailto:i.

Re: [qooxdoo-devel] vim and playground

2010-08-19 Thread b a
so while editing a Qooxdoo playground script in my vim I just write :!perl playground.pl % and suddenly it starts firefox on the playground loading the script On 8/19/10, b a wrote: > pretty cool, Thanks ! > > now I can write in my favourite editor and run the perl script so that > it will be s

Re: [qooxdoo-devel] vim and playground

2010-08-19 Thread b a
pretty cool, Thanks ! now I can write in my favourite editor and run the perl script so that it will be shown in Firefox On 8/19/10, Daniel Wagner wrote: > Right, you actually need to encode your Javascript first, add the JSON > window dressing, then encode the whole shebang again: > > my $code

Re: [qooxdoo-devel] vim and playground

2010-08-19 Thread Daniel Wagner
Right, you actually need to encode your Javascript first, add the JSON window dressing, then encode the whole shebang again: my $code = slurp($ARGV[0]); $code =uri_escape_utf8($code,"^A-Za-z"); $code = "{\"code\": \"$code\" }"; $code =uri_escape_utf8($code,"^A-Za-z"); That did it for me. Regar

[qooxdoo-devel] Nearly solved! Re: Degraded performance in large Forms after migration from qx 0.7 to 1.2 pre (answers and questions)

2010-08-19 Thread Dietrich Streifert
Hello everybody, back from profiling in IE8: After profiling my monster form I noticed that from a total of 24 seconds (profiling runtime) for the first open it spent 13 seconds (over 50%) in line 71 of the method getWidth of qx.bom.element.Dimension. Here is the code: return element.

Re: [qooxdoo-devel] Blocker bug?

2010-08-19 Thread Christian Hagendorn
Hi flj, Thank you for reporting. I think you mean the BOM Blocker[1] demo. The BOM Blocker only blocks mouse events, that's by design. Cheers, Chris [1] http://demo.qooxdoo.org/current/demobrowser/#bom~Blocker.html Am 19.08.2010 12:35, schrieb f...@mail.dnttm.ro: > Just played with the block

[qooxdoo-devel] Blocker bug?

2010-08-19 Thread flj
Just played with the blocker in the demo browser a little. Keyboard events are not blocked - while the blocker is active, you can still tab around fields and drive what's underneath the blocker using the keyboard. I used Opera 10.61 and FF 3.5.1 to test this. Is this by design or should I file a

Re: [qooxdoo-devel] vim and playground

2010-08-19 Thread b a
So I tried the following Perl code to do what you said, didn't work out very well :( I see that the slashes are %252F and spaces are encoded as being %2520 instead of %20, I tried to use uri_escape_utf8 for that, or tried a regex, neither of which worked.. use strict; use warnings; use URI::Esca

Re: [qooxdoo-devel] How to create a 'map' with qooxdoo

2010-08-19 Thread Claus Straube
Thank you! That helped. Best regards - Claus Am Donnerstag, den 19.08.2010, 11:37 +0200 schrieb Jean-Baptiste BRIAUD -- Novlog: > Hi, > > You can do the following in js : > var someValue = ... > var map = []; > map["key"] = someValue; > > This is using indexed array. > > You can also use

Re: [qooxdoo-devel] How to create a 'map' with qooxdoo

2010-08-19 Thread panyasan
Jean-Baptiste BRIAUD -- Novlog wrote: > > You can do the following in js : > var someValue = ... > var map = []; > map["key"] = someValue; > I don't think that's a recommeded use of Arrays. AFAIK, Arrays are meant to be used only with numeric indexes. For all other uses, use objects (whi

Re: [qooxdoo-devel] How to create a 'map' with qooxdoo

2010-08-19 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, You can do the following in js : var someValue = ... var map = []; map["key"] = someValue; This is using indexed array. You can also use dynamic object : var map = {}; map.key = value; It can act like Java map but there is no map in javascript. Have a look here for details : http

[qooxdoo-devel] How to create a 'map' with qooxdoo

2010-08-19 Thread Claus Straube
Hi all, I want to create something like a (Java) map in qooxdoo. Here some pseudo code: var map = new Map(); map.put('x', 'y'); // x is the key, y the value map.get('y'); I've now played around with new qx.core.Object() and tried to put in a object instance some new properties on runtime. That f

Re: [qooxdoo-devel] Mixin Source and Build Version

2010-08-19 Thread Jörg Sandkuhle
Ralf Nieuwenhuijsen schrieb: Hi, Jorg! I'm assuming you have some back-end code (PHP, ruby, whatever) that is providing the final piece of javascript that ties it all together? I think you should be able to do that easily. You can just add javascript to your main html. As long as you have all

Re: [qooxdoo-devel] vim and playground

2010-08-19 Thread Daniel Wagner
Don't know much about vi, but maybe you can get it to load a Playground URI with the code attached in the browser. The format is this: { "code": "// your code here" } URIencode this and then load like so: http://demo.qooxdoo.org/devel/playground/index.html#%7B%22code%22%3A%20%22%252F%252Fyour%2

Re: [qooxdoo-devel] listener activation looks broken

2010-08-19 Thread Christian Hagendorn
Hi Dave, keepActive and keepFocus is a method to control of activity and focus for the widget (and children). If the value is true, the widget (and children) will never get activated or focused. For e.q. if you click the Button or the List form the CheckBox they don't get the focus indicator

Re: [qooxdoo-devel] ASP.Net WebService / QooxDoo

2010-08-19 Thread Daniel Hirtzbruch
Hello Burak & Ralf, thanks for your ideas - I'll have a look at WCF WebServices later. Currently there's no free time for studying... Regards, Daniel -- View this message in context: http://qooxdoo.678.n2.nabble.com/ASP-Net-WebService-QooxDoo-tp5379689p5439234.html Sent from the qooxdoo maili

[qooxdoo-devel] vim and playground

2010-08-19 Thread b a
Is there a way that I could edit my code with vim and then try it in the playground ? I want to automate this somehow from the console.. -- This SF.net email is sponsored by Make an app they can't live without Enter the

[qooxdoo-devel] save / load Table's scroll position

2010-08-19 Thread Daniel Hirtzbruch
Hello, I'm currently implementing a mechanism to save a user's current frontend view on logout / leave for reloading it when the user re-appears to my app. 'm now stuck at a imho rather basic problem - saving and loading a large table's scroll position. The scroll position is saved correctly by