[qooxdoo-devel] Makefile Migration from 0.7 to 0.8 questions and suggestions

2008-10-07 Thread MootCycle
I have recently been working on migrating a qooxdoo 0.7 web application to the 0.8 framework. I've reached the point where I have most of the components transferred using an 0.8 sandbox, and I wanted to convert the main application. I've been reading a lot about the new build system, but I can't s

[qooxdoo-devel] HBox layout question

2008-10-07 Thread robust
Hi, i am a newbie in qooxdoo...I am trying to add two widgets to the container which has the HBox layout. I want to set the width of the each widget manually. How can I do this? Thanks, Robust -- View this message in context: http://www.nabble.com/HBox-layout-question-tp19866221p19866221.html

Re: [qooxdoo-devel] Menubutton error

2008-10-07 Thread Petr Kobalíček
Hi Nislim, This is because you are calling the function when your application starts. Try this: var f = function() { alert("Alerted"); }; var a = f(); var b = f; alert(typeof a); alert(typeof b); You should see the results. f() will always call function f, so if you want function that calls fu

Re: [qooxdoo-devel] is it bug or common behaviour of this.tr() ?

2008-10-07 Thread Grykar
Fabian, I have found the root cause I think. I am using qx.ui.form.TextArea to view some information. When I create object var CheckInput = new qx.ui.form.TextArea(""); and use setValue() to update message in this case the memory is not allocated I suppouse. The memory is overwritten and I see t

[qooxdoo-devel] Using qooxdoo as an external library for a web application

2008-10-07 Thread Omid Mottaghi
Hi all, I'm new to qooxdoo and sorry for the subject! I tried to use qooxdoo for a dynamic PHP project. But after running "dynamic JS rendering engine" in PHP, it should run generate.py script. Is there any way to include needed JS libraries? For example instead of generating JS files, simply wri

Re: [qooxdoo-devel] Adjusting namespace and location of Source/Build files

2008-10-07 Thread Chris Banford
Hi Thomas, Really an excellent email this one -- I'm sure that this belongs in the wiki docs somewhere where new users would read it. I've figured these things out, but I'm sure it would have been a very informative read for me at some point not long ago, and I'm sure there will be future qo

Re: [qooxdoo-devel] Menubutton error

2008-10-07 Thread nislim
Matthew Gregory wrote: > > Hi nislim, > Try changing this.createFileMenu() to this.createFileMenu. > You don't want to call the function here you just want to reference it. > > Also instead of trying to get the document width have you tried > something like this? > frame.add(menuBar, {left : 0

Re: [qooxdoo-devel] Design question

2008-10-07 Thread Matthew Gregory
Thanks, i put it there deliberatly to test your bug hunting skills honest! The icon and title don't tend to be dynamic which is why this wasn't picked up until now. I'm looking forward to having this as a contrib so other people can pick up on my delibrate mistakes (still waiting for an e-

Re: [qooxdoo-devel] Cache not invalidated/emptied automatically on 0.8 to trunk upgrade

2008-10-07 Thread thron7
Gaetan, you would have had to clear the cache anyway, even if you would be using just the trunk all the time, since I made a change to some cache object format that made existing trunk caches invalid. (We previously had an automatic cache invalidation after changes in the tool chain; we might

Re: [qooxdoo-devel] Adjusting namespace and location of Source/Build files

2008-10-07 Thread thron7
> > > The Tool-chain (config.json, jobs, etc) is still over my head. I'm > hoping that there are a few more wiki docs/how-to's in store, from > those who feel comfortable with this stuff. I mentioned in another post there are just three wiki documents concerned with the 0.8 generator configu

[qooxdoo-devel] Fwd: Class instances in statics not supported in 0.8?

2008-10-07 Thread Gaetan de Menten
Resending with testcase renamed to bypass stupid filter... -- Forwarded message -- From: Gaetan de Menten <[EMAIL PROTECTED]> Date: Tue, Oct 7, 2008 at 5:50 PM Subject: Class instances in statics not supported in 0.8? To: qooxdoo Development Are class instances in statics not su

[qooxdoo-devel] Class instances in statics not supported in 0.8?

2008-10-07 Thread Gaetan de Menten
Are class instances in statics not supported in 0.8 anymore? qx.locale.Manager is undefinedDateFormat.js (line 47) this.__locale = qx.locale.Manager.getInstance().getLocale(); See attached test script (which worked fine in 0.7). PS: Since I don't know whether this is a bug or simply a pa

[qooxdoo-devel] Cache not invalidated/emptied automatically on 0.8 to trunk upgrade

2008-10-07 Thread Gaetan de Menten
I'm regularly switching from the 0.8 release to trunk (I have both versions on my disk), hence my earlier complaint about the path being specified at several places. There is another issue to it I forgot to mention: when upgrading from 0.8, to trunk, I have the following error: Traceback (most re

Re: [qooxdoo-devel] [0.8] Date format

2008-10-07 Thread thron7
Hi Guilherme, > is there any built-in feature to deal with date format automatically when > selecting the locale? > Not that I'm aware of. It used to be coupled in 0.7, but has been decoupled for 0.8, to allow for greater flexibility in setting CLDR formats. I will try and get Martin involv

Re: [qooxdoo-devel] URLs in qx

2008-10-07 Thread thron7
Hi Klaus, > I am trying to create a application, where all ressources are located on the > server in the same directory (qooxdoo and rpc server). I try to set URLs as > well > for the rpc server as for some pages, which I show in an iFrame. Obviously, > both > functions need absolute address

[qooxdoo-devel] How to get the currently focused widget?

2008-10-07 Thread Gaetan de Menten
When saving a form, I need to make sure my local datastore is updated with the on-screen value of the fields of the form. This happens automatically when the user saves the form through the "save" button on the toolbar, since the current field loose focus. But if the current fields doesn't loose fo

[qooxdoo-devel] Decoration: repeat-x and 1px wide images

2008-10-07 Thread Gaetan de Menten
I noticed that (among others): * decoration/form/input.png * decoration/form/input-focused.png are larger than 1pixel but are just the same vertical gradient across the whole width, and their decoration use a "repeat-x" property. Is there a reason for those images to be larger than 1px or is it jus

[qooxdoo-devel] Decoration inheritance

2008-10-07 Thread Gaetan de Menten
Hi again, I see there is a lot of repetition in decorations. For example, the "input-focused" and "input-disabled" decorations only differ from the "input" decoration for a few keys each. It would certainly make decorations declarations shorter to have some kind of inheritance system in place. Do

[qooxdoo-devel] Custom 0.8 theme "not available"?

2008-10-07 Thread Gaetan de Menten
I'm using an "extended" modern theme for my application, that is I'm inheriting from the theme and adding some states ("invalid", ...) to some widgets. It works fine in source form, but I systematically get the following exception as the first message in my console: The theme to use is not availab

[qooxdoo-devel] Path to Qx lib in 0.8 (config.json & generate.py issue)

2008-10-07 Thread Gaetan de Menten
Here is one regression in 0.8: moving the qooxdoo lib around is a pain: In 0.7.x you only had to change the path to where Qooxdoo is installed in one place. Now you have to change it in 3 places: twice in config.json and one in generate.py, which is especially ugly IMO. This is problematic for wr

[qooxdoo-devel] 0.8 migration report

2008-10-07 Thread Gaetan de Menten
Hi all, Here is my experience with migrating my code to 0.8. It was quite a painful experience for me... In the hope you can make it a more pleasant experience for others, here are my comments about the migration itself. I also had many issues in 0.8 which made the migration painful, but since th

Re: [qooxdoo-devel] Design question

2008-10-07 Thread Petr Kobalíček
Hi Matthew, only one think :) In your code you should add 'icon' property and your title property sets property to wrong widget (this._description). Only needed to modify this: _applyIcon : function(value) { this._icon.setSource(value); }, _applyTitle : function(value)

Re: [qooxdoo-devel] [ANN] Spket IDE add qooxdoo support

2008-10-07 Thread Christian Schmidt
Hi Eric, thanks for the good qooxdoo support and for the quick response with the SVN problem. To use the Spket IDE 1.6.16 with the qooxdoo SVN repository, see: http://forums.spket.com/viewtopic.php?p=1330#1330 Cheers, Chris Andreas Ecker schrieb: > Hi Eric, > > congrats to the new release and

Re: [qooxdoo-devel] An Inline *Toolbox* window.

2008-10-07 Thread Chris Banford
Hi JBB, > It really look great, congratulation ! > What about a contrib ? > Would be happy to make a contrib, but don't think that its anywhere near the needed quality yet. There are a handful of issues with the way the window works at the moment (things I've broken?) and having changed the

Re: [qooxdoo-devel] An Inline *Toolbox* window.

2008-10-07 Thread Jean-Baptiste BRIAUD - Novlog
Hi Chris, It really look great, congratulation ! What about a contrib ? I think it could be quite valuable for graphical application. You can move the toolbox when it hide the image you worked on (like in Photoshop) I guess it is less usefull on business application. JBB. On 6 Oct 2008, at

Re: [qooxdoo-devel] Issues with 'inset' borders

2008-10-07 Thread Jim Hunter
Thanks, Ican't locate it now but I was reading documentation that stated that Single was used for the basic borders but if you needed inset, outset and a couple others, you needed to use Double. Well, anyway it seems to be working now, thanks for the clarification! Jim On Tue, Oct 7, 2008 at 12

Re: [qooxdoo-devel] Issues with 'inset' borders

2008-10-07 Thread Fabian Jakobs
Jim Hunter schrieb: > Thanks for the reply. It doesn't help me understand why using the > control like it says in the API produces errors, but it did allow me > to get an inset border once I replaced the color values you listed > with actual colors. The error came becuase the Decorator does not

Re: [qooxdoo-devel] Composite: "There is already a widget in this cell"

2008-10-07 Thread Fabian Jakobs
Jenec schrieb: > I am positioning widgets using qx.ui.container.Composite() and need to > replace content of certain rows in it, but of course I always get a message: > Error: There is already a widget in this cell (7, 1). > So all I need to know is how to remove content of cell (7,1) before > ins

Re: [qooxdoo-devel] HtmlArea for 0.8 still not usable

2008-10-07 Thread Petr Kobalíček
Hi Fabian, I didn't know about his vacation, so it's ok for now :) Cheers - Petr 2008/10/6 Fabian Jakobs <[EMAIL PROTECTED]>: > Petr Kobalíček schrieb: >> Hi devs, >> >> I have one idea to the development team. I remember the "table bug >> hunting day" and I will be happy if some day in future c

Re: [qooxdoo-devel] Composite: "There is already a widget in this cell"

2008-10-07 Thread Jenec
Of course, I mean Composite with qx.ui.layout.Grid -- View this message in context: http://www.nabble.com/Composite%3A-%22There-is-already-a-widget-in-this-cell%22-tp19836283p19836843.html Sent from the qooxdoo-devel mailing list archive at Nabble.com. -

[qooxdoo-devel] Composite: "There is already a widget in this cell"

2008-10-07 Thread Jenec
I am positioning widgets using qx.ui.container.Composite() and need to replace content of certain rows in it, but of course I always get a message: Error: There is already a widget in this cell (7, 1). So all I need to know is how to remove content of cell (7,1) before inserting another widget. I

Re: [qooxdoo-devel] An Inline *Toolbox* window.

2008-10-07 Thread Andreas Ecker
Hi Chris, nice demo. ;-) As there are some issues with your inline app (IE6 and Safari?), could you open bug reports with a stripped-down version of your code as a sample? Thanks, Andreas > > Safari (3.1 & Nightly Build) moves the window down+right every time the > > drag bar is selected (ea