[qooxdoo-devel] [patch] SmartTableModel fixes ...

2009-10-15 Thread Tobias Oetiker
compiling SmartTableModel with the latest generator (as of this morning) suggests the following fixes: Index: MSmartUnitTests.js === --- MSmartUnitTests.js (revision 19377) +++ MSmartUnitTests.js (working copy) @@ -65,7 +65,7 @@

Re: [qooxdoo-devel] generating objects

2009-10-15 Thread Petr Kobalíček
I think that you shouldn't worry about function calls. Each property needs function call, object creation, etc. To create one qooxdoo widget instance there are tens of function calls so another one (or tens) in your layer is really not important:) -- Best regards - Petr Kobalicek

Re: [qooxdoo-devel] Blue toolbar theme

2009-10-15 Thread Fritz Zaucker
On Thu, 15 Oct 2009, Loïc Bresson -- Novlog wrote: No, there is no appearance defined which use the blue background. You have do define your own one. You can use the decoration and appearance file as example and if you need some help, please ask. Hi Chris. That's what I did. It took me a littl

[qooxdoo-devel] generating objects

2009-10-15 Thread Burak Arslan
hello, the old version of jsqt generated one class per ui file, where all code was stuffed in the constructor. while easier to implement, this method does not give all the control one could want over the generated code. instead, i think it should generate functions that instantiate and configu

[qooxdoo-devel] FR: Limit documentation searches to a certain qx-version

2009-10-15 Thread Andy Fuchs
If I enter the documentation-area of Qooxdo 0.8.x () and type something into the search-field, ALL available documentation is searched, which is confusing and brings up lots of outdated stuff The search should be restricted to the corresponding version, I

[qooxdoo-devel] uploadwidget / restrict file-types

2009-10-15 Thread Andy Fuchs
In my struggle to find a nice way to upload binary files, I tried the uploadwidget contribution, but I can't seem to limit access to only certain mime-types - in the file-system-dialog. I added:input.accept = "text/html";, but still get all files shown. Do I misunderstand the feature? Or how c

[qooxdoo-devel] Upload file

2009-10-15 Thread Andy Fuchs
Hi friends, concerning qooxdoo 0.8.2 I need to upload a file using a POST request and I am a little confused with the various documentation (i.e. documentation to AJAX on the qooxdop site states:'Parameters are currently always sent using GET, even if you select POST'. Somwhere else I read that o

Re: [qooxdoo-devel] Theming a button (its image actually)

2009-10-15 Thread Jean-Noël Rivasseau
Yes, that works! Thanks for the help, you are really saving me on this. This behavior is a bit strange for me, why does Qx act this way? At the very least, shouldnt that be documented somewhere? On Thu, Oct 15, 2009 at 5:55 PM, Matthew Gregory < matthew+qoox...@nogsnet.com > wrote: > You are sett

Re: [qooxdoo-devel] Blue toolbar theme

2009-10-15 Thread Loïc Bresson -- Novlog
> No, there is no appearance defined which use the blue background. You > have do define your own one. You can use the decoration and appearance > file as example and if you need some help, please ask. Hi Chris. That's what I did. It took me a little time to understand toolbars, buttons and men

Re: [qooxdoo-devel] Theming a button (its image actually)

2009-10-15 Thread Matthew Gregory
You are setting the icon inside the constructor for your page. If you provide a custom icon in this way the icon from the theme is always ignored. Try removing the icon from the constructor and use this in your appearance: return {"icon": states.hovered ? "common/margins-active.png" : "commo

Re: [qooxdoo-devel] Theming a button (its image actually)

2009-10-15 Thread Jean-Noël Rivasseau
Hmm, and by the way. This also fails to apply with a simple Image widget and its "source" property set on the Appearance.js file. Can someone tell me where is applied the result of a theme so that I can troubleshoot? eg, the place where you use the map object returned by the style function in Appe

Re: [qooxdoo-devel] Theming a button (its image actually)

2009-10-15 Thread Jean-Noël Rivasseau
Hi, here is the code snippet, but I do everything the normal way: var marginsPage = new qx.ui.tabview.Page(null, "common/try.png"); marginsPage.setAppearance("InsidePaneTabViewPage"); This is the appearance: "InsidePaneTabViewPage/button": { style: f

Re: [qooxdoo-devel] qooxdoo "IDE" -- Request for Comments

2009-10-15 Thread Derrell Lipman
On Thu, Oct 15, 2009 at 06:01, Jean-Baptiste BRIAUD -- Novlog < j-b.bri...@novlog.com> wrote: > A competitor example of a designer : > http://www.extjs.com/blog/2009/10/08/ext-js-designer-preview/ > A competitor? Nah. Just a place to get additional ideas. :-) Thanks for posting this. Too bad I c

Re: [qooxdoo-devel] Running as build doesn't work!

2009-10-15 Thread Pedro Vieira
Thanks Jonathan. Pedro. On Thu, Oct 15, 2009 at 4:34 AM, Jonathan Weiß wrote: > > Hallo Pedro! > > > pesvieira wrote: > > > > I did that you said and it works fine. The firebug wasn't showing this > > message for me. > > > > > You could also use the qooxdoo console, if FireBug does not show all

Re: [qooxdoo-devel] getting 2 resize events for every resize of qx.ui.window.Window

2009-10-15 Thread skar
Hi Chris, > which qooxdoo version do you use? Could you please send me a code > snippet how to reproduce this. > Thanks for the offer. I've since solved this problem, by listening to the "appear" event and the app root's "resize" event. Basically, I was trying to resize and move my window whe

Re: [qooxdoo-devel] Blue toolbar theme

2009-10-15 Thread Christian Schmidt
Hi Loïc Bresson, > Is there an already defined appearance that uses this blue background or do I > have to add my own appearance to the Modern theme ? No, there is no appearance defined which use the blue background. You have do define your own one. You can use the decoration and appearance file

Re: [qooxdoo-devel] getting 2 resize events for every resize of qx.ui.window.Window

2009-10-15 Thread Matthew Gregory
I don't mean that simply the same event object is resused for the same event, I mean they are pooled. When fireEvent is called it finds out what type of event object is needed and grabs one from the pool if it exists, fires the event and then returns it to the pool. You could see the same event

Re: [qooxdoo-devel] getting 2 resize events for every resize of qx.ui.window.Window

2009-10-15 Thread Christian Schmidt
Hi Skar, which qooxdoo version do you use? Could you please send me a code snippet how to reproduce this. Thanks, Chris skar schrieb: > Hi, > > Whenever I create a qx.ui.window.Window based object, the "resize" > listener gets called twice. Shouldn't it be called only once? > > I compared the

Re: [qooxdoo-devel] getting 2 resize events for every resize of qx.ui.window.Window

2009-10-15 Thread skar
Matthew Gregory wrote: > I haven't looked at this but from what I have seen of the event system > you can't safely save a reference to an event object and compare it with > another. The reason is that event objects are pooled so it could well be > that the same event object is used for two diffe

Re: [qooxdoo-devel] getting 2 resize events for every resize of qx.ui.window.Window

2009-10-15 Thread Matthew Gregory
I haven't looked at this but from what I have seen of the event system you can't safely save a reference to an event object and compare it with another. The reason is that event objects are pooled so it could well be that the same event object is used for two different events. skar wrote: > Hi,

[qooxdoo-devel] getting 2 resize events for every resize of qx.ui.window.Window

2009-10-15 Thread skar
Hi, Whenever I create a qx.ui.window.Window based object, the "resize" listener gets called twice. Shouldn't it be called only once? I compared the 2 event objects and a "RE1 == RE2" evaluates to true, also the timestamp is the same and even "RE1.toSource() == RE2.toSource()" evaluates to true

Re: [qooxdoo-devel] AIE

2009-10-15 Thread Matthew Gregory
Haven;t heard much of it but it is mentioned on the wiki here: http://qooxdoo.org/community/real_life_examples#appearance_is_everything Jean-Baptiste BRIAUD -- Novlog wrote: > Hi, > > Does anyone heard of AIE ? > http://sqville.com/aie/demos.html > > Any experience return ? > > It look like fr

[qooxdoo-devel] Blue toolbar theme

2009-10-15 Thread Loïc Bresson -- Novlog
Hi. I've found that inside resource/qx/decoration/Modern/toolbar there is a file named toolbar-gradient-blue.png, which could be used as the background image of a toolbar (the one used by default being toolbar-gradient.png). That's pretty cool because we need a blue toolbar in our application,

Re: [qooxdoo-devel] qooxdoo "IDE" -- Request for Comments

2009-10-15 Thread Jean-Baptiste BRIAUD -- Novlog
A competitor example of a designer : http://www.extjs.com/blog/2009/10/08/ext-js-designer-preview/ -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this

[qooxdoo-devel] AIE

2009-10-15 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, Does anyone heard of AIE ? http://sqville.com/aie/demos.html Any experience return ? It look like free but no license information is given ... Thanks ! -- Come build with us! The BlackBerry(R) Developer Conference

Re: [qooxdoo-devel] using a plain json file as table data

2009-10-15 Thread schnirom
Using a "local file"-URI, which in my case is fine, helped: var req = new qx.io.remote.Request("resource/myproject/events.json", "GET", "text/plain"); schnirom wrote: > > Hello, > > I followed the RemoteTableModel manual to implement a simple remote model. > In my case, the backend providing

Re: [qooxdoo-devel] what's the difference between object.destroy and delete object

2009-10-15 Thread skar
Hi Jonathan, Hello skar, you guess you mean Object.dispose() and delete? Widget.destroy() removes this widget from its parent and disposes it. Object.dispose() removes the object from the object registry and removes all event listeners on this object and tries to remove as much other reference

Re: [qooxdoo-devel] using a plain json file as table data

2009-10-15 Thread Christian Schmidt
Hi Roman, it sounds like a same origin policy prooblem. Do you start your application from the same server? If you do not start it from the same server the same origin policy blocks the communikation from your request. To avoid the same origin policy you can set the crossDomain property to tru

Re: [qooxdoo-devel] what's the difference between object.destroy and delete object

2009-10-15 Thread skar
Dear Jonathan, > Hello skar, > > > you guess you mean Object.dispose() and delete? Widget.destroy() removes > this widget from its parent and disposes it. > > Object.dispose() removes the object from the object registry and removes all > event listeners on this object and tries to remove as much ot

Re: [qooxdoo-devel] what's the difference between object.destroy and delete object

2009-10-15 Thread Jonathan Weiß
Hello skar, you guess you mean Object.dispose() and delete? Widget.destroy() removes this widget from its parent and disposes it. Object.dispose() removes the object from the object registry and removes all event listeners on this object and tries to remove as much other references (DOM) as pos

[qooxdoo-devel] using a plain json file as table data

2009-10-15 Thread schnirom
Hello, I followed the RemoteTableModel manual to implement a simple remote model. In my case, the backend providing the table data is just a plain JSON file. I'm creating the Request object like this: var req = new qx.io.remote.Request("http://localhost/tabledata.json";, "GET", "text/plain");

Re: [qooxdoo-devel] Again troubles with overriding "libraries"

2009-10-15 Thread thron7
Jean-Noël Rivasseau wrote: > Hmm. I could do that of course, but my main point is that there is a > bug there and it should be fixed :) For me currently my setupLibraries > workaround, although dumb, works fine. > > But the underlying bug should be fixed so that future users willing to > do ju

Re: [qooxdoo-devel] Theming a button (its image actually)

2009-10-15 Thread Christian Schmidt
Hi Jean-Noël, this sounds strange. I'm not a appearance expert, but I will try to help. Could you please send a code snipped how you set the appearance on the widget? Could you also explain if all TabButtons should get the icon or only some? > Also, I was wondering if there was available a list

Re: [qooxdoo-devel] Running as build doesn't work!

2009-10-15 Thread Jonathan Weiß
Hallo Pedro! pesvieira wrote: > > I did that you said and it works fine. The firebug wasn't showing this > message for me. > You could also use the qooxdoo console, if FireBug does not show all messages. Just press F7 or execute qx.log.appender.Console.show(); Kind regards Jonathan - J