Re: [qooxdoo-devel] Blueprint JSON Structure Discussion

2009-10-02 Thread Guilherme Aiolfi
Here I some of my thoughts: I dont think "type" should exist. You can add a key "events" : { "appear" : fucntion(e) {} } to handle those case that the top container should do something. Actually, "events" should be a key for every object. Every key that is not "reserved" to this dialect should be

[qooxdoo-devel] Blueprint JSON Structure Discussion

2009-10-02 Thread MootCycle
I wanted to do a quick post here about the current JSON structure of Blueprint and where I think it is going. I definitely would appreciate comments on what people think I've done right or wrong with my design. The basic design philosophy for the JSON is that the layout objects exist in the same h

Re: [qooxdoo-devel] Is there a way to disable lint's warning about missing braces?

2009-10-02 Thread Gene Amtower
I agree - this is valid Javascript structure. You only need braces when there's more than one line in the body of the "if" or "for" clause - you can use the braces in this instance but it's optional. If the tool doesn't complain about these structures when generating the source or build instances

Re: [qooxdoo-devel] New qooxdoo contrib: Tartan Blueprint Serialization and WYSIWYG Form Designer

2009-10-02 Thread MootCycle
I appreciate the comments. I had forgotten about the contrib page. I'll certainly add a little something there. Any extra links to generate interest would certainly be useful. I'll fix the contrib layout as well. I hadn't really thought too much about version numbers for the project yet. My primar

Re: [qooxdoo-devel] IE forces reloading of page instead of downloading PDF?

2009-10-02 Thread Gene Amtower
Ken, I doubt that you can set this at the Qooxdoo level because it's a security feature outside of the page itself in the browser functionality. Imagine how it would compromise security if browser applications could override this setting at will! However, users CAN set popups to be allowed on a

[qooxdoo-devel] IE forces reloading of page instead of downloading PDF?

2009-10-02 Thread Ken MacDonald
Hi, I inherited a number of qooxdoo projects, they all have a problem with IE (8 & 6, at least). In my app, I can select a bunch of options, go thru a bunch of menus and get a result that I want to print. After clicking my print button, app makes a call to the server, which creates a .pdf file th

[qooxdoo-devel] Is there a way to disable lint's warning about missing braces?

2009-10-02 Thread flj
Hi. generate.py lint is a very useful tool. However, if you have a one-liner not enclosed in braces as the body of a for loop, or after an if statement, it still complains about missing braces. Is there a way to disable this behavior? I mean, not have it complain about missing braces at all?

Re: [qooxdoo-devel] New instance from classname

2009-10-02 Thread Matthew Gregory
Remove the space before the #require and is should OK :) HTH, Matt Loïc Bresson -- Novlog wrote: > thron7 wrote: >> Aparently, your #require hints are not being picked up, which is >> strange. I can only think of some weird or hidden characters around >> the #require lines spoiling the parse.

Re: [qooxdoo-devel] Best Practice for running generator after adding a class

2009-10-02 Thread aditya siram
If for any reason the file doesn't get picked up, can I just add it manually the path to the list of resources in the file in the 'source/script' directory? -deech On Fri, Oct 2, 2009 at 11:57 AM, thron7 wrote: > You guys might want to check whether your observed behaviour relates to > this bug:

Re: [qooxdoo-devel] Best Practice for running generator after adding a class

2009-10-02 Thread thron7
You guys might want to check whether your observed behaviour relates to this bug: http://bugzilla.qooxdoo.org/show_bug.cgi?id=2376 The essence is: If you change a library (e.g. by adding a class), but *don't* change the using code, the change is not being picked up (as the dependency cache is u

Re: [qooxdoo-devel] New instance from classname

2009-10-02 Thread thron7
> This works well. I suppose I have to add the same in > config.json/jobs/build job to get that work in the build version ? That's right. > Anyway, I redesigned the application so that the instantiation of my > Dog/CatPanes is hard coded, and their use into the > OneCrewExplorerComponent clas

[qooxdoo-devel] qx.ui.layout.Grid maximum rows?

2009-10-02 Thread Glyn Bowden
Hi, Im having issues getting the mail archive to load currently so apologies if this has been mentioned before. I'm using qooxdoo 8.0.3 and have a form that I have based on a Grid. Theres a number of layout reasons for this, but I won't go into that now. My problem is that when I try to ad

Re: [qooxdoo-devel] TreeController + modelNode with inherited child property - not working

2009-10-02 Thread Axel
Hi Martin, > I have openend a bug report for it and take care of it as soon as I have > time. > http://bugzilla.qooxdoo.org/show_bug.cgi?id=2880 I saw it's already fixed. MartinWittemann schrieb: > So thanks for testing it and a > special thanks for digging in so deep. You fixed a bug for me,

Re: [qooxdoo-devel] New instance from classname

2009-10-02 Thread Loïc Bresson -- Novlog
thron7 wrote: Aparently, your #require hints are not being picked up, which is strange. I can only think of some weird or hidden characters around the #require lines spoiling the parse. I checked for hidden characters (hexdump -C OneCrewExplorerComponent.js), but everything seems fine. I als

Re: [qooxdoo-devel] Native Window, again

2009-10-02 Thread panyasan
panyasan wrote: > > Looking through the code, my assumption is that it has to do with > qx.event.Registration.getManager(). The event manager is chosen according > to the global "window" object (line 78). This is really tricky, because > the event target is instantiated in the parent window, an

Re: [qooxdoo-devel] Concept, anonymous classes?

2009-10-02 Thread Matthew Gregory
It might help if you give a use case for this. It is possible to override something that is inherited from a prototype with a local member. For instance something like this would work: var btn = new qx.ui.form.Button(); btn.execute = function() { alert("this is the overridden execute fn that

Re: [qooxdoo-devel] qx.ui.core.Command + Themes?

2009-10-02 Thread Matthew Gregory
I would say yes. I am guessing you have several commands and want each individual command to have a themed icon. In that case, you could use a theme but you would have to apply the icons manually. define an appearance like this: "command-icons" : { style : function() { re

Re: [qooxdoo-devel] Javascript Scoping and Asynchronous Requests

2009-10-02 Thread Matthew Gregory
Axel's suggestion will work, but you need to pass the parameter class A: members : response : null, ask : function () { var that = this; var callback = function(resp) { that.setAndPrintResponse(resp); };

Re: [qooxdoo-devel] New qooxdoo contrib: Tartan Blueprint Serialization and WYSIWYG Form Designer

2009-10-02 Thread thron7
Hi Dan, I've looked at your web pages and demos - cool stuff! As an aside: Will you be adding an entry in the contribution overview page (http://qooxdoo.org/contrib/project)?! That would be great. I've also seen that you have implemented a somewhat individual folder layout for the SVN reposito

Re: [qooxdoo-devel] how to resize table column width on browser window resize?

2009-10-02 Thread Daniel Wagner
These methods are a part of the column model's resize behavior: var tcm = table.getTableColumnModel(); var resizeBehavior = tcm.getBehavior(); resizeBehavior.setMinWidth(2, 250); Regards, Daniel skar karthikeyan schrieb: > > > On Thu, Oct 1, 2009 at 9:25 PM, Daniel Wagner

Re: [qooxdoo-devel] qx.ui.core.Command + Themes?

2009-10-02 Thread Fabian Jakobs
Florian Giesen schrieb: > Hello QooXdoo Team! > > At first I have to say, that it was a good idea to enhance > qx.ui.core.Command! From now on I don't have to add userdata to > command instances to store additional data like the name or the icon :-) > > And this leads to my question: Is there a p

[qooxdoo-devel] qx.ui.core.Command + Themes?

2009-10-02 Thread Florian Giesen
Hello QooXdoo Team! At first I have to say, that it was a good idea to enhance qx.ui.core.Command! From now on I don't have to add userdata to command instances to store additional data like the name or the icon :-) And this leads to my question: Is there a possibility to set the icon and other w