Re: [qooxdoo-devel] Dangerous optimizations

2007-10-03 Thread Sebastian Werner
This option is not yet for the public. It was just tested some time ago and to correctly implement this does not seem to be that easy. We will work this out later - when there is a bit time. For now, please do not use it. (This is also somewhere mentioned in the wiki) Sebastian Am 03.10.20

Re: [qooxdoo-devel] qx.ui.core.Widget.flushGlobalQueues() not working...

2007-10-03 Thread Jim Hunter
For the most part you do not need to use flushGlobalQueues() in .7.1+, I actually found that my program ran better and faster when I took them all out. There are only a few places where you do need to use it and one would be when doing a progress bar. But since you didn't supply any of your code we

[qooxdoo-devel] i need a function like PHP include in qooxdoo

2007-10-03 Thread Juan Matias Granda
hi, i want to now if qooxdoo have a function like PHP include, i want to do something like this: var barView = new qx.ui.pageview.buttonview.ButtonView; barView.addToDocument(); this._states = {}; this._createPage(barView, "Page1", "page1.png", this._page1); this._createPa

[qooxdoo-devel] qx.ui.core.Widget.flushGlobalQueues() not working...

2007-10-03 Thread Enaldo Amorim
Hi, I'm developing an app with user login. When the user type the username and password and then click on the login button I try to show a popupAtom or a progressbar but it doesn't work. It doesn't work with qx.ui.coreWidget.flushGlobalQueues(), too. I don't know if I am using flushGlobalQueues()

Re: [qooxdoo-devel] Dangerous optimizations

2007-10-03 Thread frederic
Hello, What is the status of the parameter optimize-private (in the todo of 0.8) ? my app is broken when using the optimization et the generate JS file is bigger when this param is set to true. cheers. frederic dperez wrote: > > Updated http://qooxdoo.org/documentation/0.7/custom_builds with t

Re: [qooxdoo-devel] generator bug

2007-10-03 Thread frederic
Hi David, the variableoptimizer.py module have been updated in the trunk after the release of qx 0.7.2 ; perhaps this update breaks your code ; have you try with 0.7.2 ? cheers. fred dperez wrote: > > Through trial and error, I've come to the conclusion that the dangerous > flag is: > --optimi

[qooxdoo-devel] Best generator params to speed up code execution

2007-10-03 Thread frederic
Hello, I need your feedback concerning the qx generator params. My users have low speed CPU under Firefox and my app is little heavy on these machine. So, I'm looking for speed up the code execution only (js size is not a problem). Hereafter, my makefile options, anything to change ? APPLICATION

Re: [qooxdoo-devel] Use of "this" to access class member variables/UI components

2007-10-03 Thread mshillin
T.J., Thanks for the great explanation. Your option2 (below) works perfectly, exactly what I was looking for. Good reading on the links too. Thanks again, Mike T.J. Crowder wrote: > > = > someSetupMethod : function() > { > vartextfield; > > >

Re: [qooxdoo-devel] generator bug

2007-10-03 Thread dperez
Through trial and error, I've come to the conclusion that the dangerous flag is: --optimize-strings dperez wrote: > > I have this simple class: > > qx.Class.define('CeldaClicable', { > extend: qx.ui.table.cellrenderer.Default, > > members: { > _getCellStyle: fu

Re: [qooxdoo-devel] Use of "this" to access class member variables/UI components

2007-10-03 Thread T.J. Crowder
Hi, > ... But when the complexity of the actions increases, I > will attempt to consolidate logic in member functions which are called > from > the listeners... You can do that without making them member functions, if you like. There's no reason you can't have named functions inside your const

[qooxdoo-devel] generator bug

2007-10-03 Thread dperez
I have this simple class: qx.Class.define('CeldaClicable', { extend: qx.ui.table.cellrenderer.Default, members: { _getCellStyle: function(cellInfo) { return (cellInfo.style || '') + ';cursor:pointer !important' }

Re: [qooxdoo-devel] Use of "this" to access class member variables/UI components

2007-10-03 Thread mshillin
It is not a problem to code like this - I just wanted to make sure I am coding the correct way and there was not some "trick" to accessing UI components in a layout. It is a bit of a hassle when I am refactoring. If I perform "simple actions" on UI components, the logic goes into event listene

Re: [qooxdoo-devel] Use of "this" to access class member variables/UI components

2007-10-03 Thread qooxdoo
Why is this a problem? There are some functions that you can use to search for child objects (check the API viewer for getchildren or something similar), if you wanted to perform the same operation you could consider storing them in your own array. What might be best for you depends on your needs.

Re: [qooxdoo-devel] qooxdoo.org account registration not working?

2007-10-03 Thread T.J. Crowder
OMG, you're right, that was it. Registering as "Tj Crowder" rather than "TJ Crowder" or "T.J. Crowder" worked. Then I was able to go into my account and correct it ("T.J."), and it accepted the change. Perhaps I'll trot over to DocuWiki and file a bug report... Thanks, Jens, you're brilliant.

Re: [qooxdoo-devel] qooxdoo.org account registration not working?

2007-10-03 Thread Jens Lautenbacher
On Mi, 2007-10-03 at 08:27 +0100, T.J. Crowder wrote: > Hi folks, > > I've tried a couple of times to create an account on qooxdoo.org > (http://qooxdoo.org/start?do=register), but it always tells me "Invalid full > name". The full name I'm giving it is "T.J. Crowder" (without the quotes). > I

[qooxdoo-devel] Use of "this" to access class member variables/UI components

2007-10-03 Thread mshillin
I am writing an app with data entry forms. To be able to access the various UI components (TextField, Checkbox, etc) from different functions in the class, it seems that I need to declare them as class member variables and always refer to them with "this" (this.myTextField.getValue()). While t

Re: [qooxdoo-devel] qx.ui.table.model.Remote implementation problems

2007-10-03 Thread bibliograph
Hugh Gibson schrieb: >> this.addEventListener("dataReceived",function(e){ >> result = e.getData(); >> if ( result== null ) >> { >> this.setRowCount(null); >> this.setRowData([]); >> } >> else if ( "rowCount" in result ) >> { >> this.se

Re: [qooxdoo-devel] qx.ui.table.model.Remote implementation problems

2007-10-03 Thread Hugh Gibson
> this.addEventListener("dataReceived",function(e){ > result = e.getData(); > if ( result== null ) > { > this.setRowCount(null); > this.setRowData([]); > } > else if ( "rowCount" in result ) > { > this.setRowCount(result.rowCount); >

[qooxdoo-devel] qooxdoo.org account registration not working?

2007-10-03 Thread T.J. Crowder
Hi folks, I've tried a couple of times to create an account on qooxdoo.org (http://qooxdoo.org/start?do=register), but it always tells me "Invalid full name". The full name I'm giving it is "T.J. Crowder" (without the quotes). I also tried "TJ Crowder" (e.g., without the dots), which isn't cor

[qooxdoo-devel] Enhancement: message box & notifiers

2007-10-03 Thread dperez
Hi, It would be nice to have this implemented in qooxdoo: http://extjs.com/deploy/ext-2.0-alpha1/examples/message-box/msg-box.html, all kind of message boxes and notifiers. I think this should be very easy to implement by using qooxdoo. Regards David -- View this message in context: http://ww

Re: [qooxdoo-devel] Value of inherited property

2007-10-03 Thread dperez
Another solution, is to set a flag in the widget when the enabled state is set directly myWidget.setEnabled(true); myWidget.myFlag = true; This is an easy and safe way to solve my issue, thanks to the ability to add any property to an object. T.J. Crowder wrote: > > Hi, > > (Warning: Qooxdo