Re: [qooxdoo-devel] How to update current theme

2007-06-19 Thread dperez
Added my small tip to the wiki http://qooxdoo.org/documentation/0.7/theme_support#how_to_add_new_appearances_to_current_theme, so that it doesn't get lost. dperez wrote: > > Hi, > > Here is a method of adding more appearances to current theme: > > function updateTheme() { > qx.Theme.def

Re: [qooxdoo-devel] Combo box questions

2007-06-19 Thread dperez
Hi David, ComboBox or ComboBoxEx? For ComboBox I think you just have to manipulate combo.getChildren() For ComboBoxEx: 1. combo.setSelection([]) 2. combo.setSelectedIndex(combo.getSelectedIndex()+1) 3. var data = combo.getSelection(); for (var i = 0; i < data.length; i++)

Re: [qooxdoo-devel] Error in online demos

2007-06-19 Thread Hugh Gibson
> Just running the online demos in IE7 with script debugging turned > on. Version says: 0.7.1 pre (r8483). > > Every demo gives an error on loading: > > --- > Error > --- > A Runtime Error has occurred. > Do you wish to Debug? > > Line: 11 > Error

Re: [qooxdoo-devel] Serious problem with online API viewer

2007-06-19 Thread Hugh Gibson
> Cache headers and compression are now implemented on the > demo.qooxdoo.org web server. This really rocks now. The proof: GET http://demo.qooxdoo.org/devel/apiviewer/script/qx.ui.core.Widget.js (265ms) The API viewer is much more responsive. And much nicer when you come back to it - it loads

Re: [qooxdoo-devel] Aptana JSEditor and the new OO syntax in qooxdoo 0.7

2007-06-19 Thread dimitri van der veken
Hello, I have created a fix for the aptana outline view for qooxdoo 0.7. This works for me on eclipse 3.2.1. (warning : this does not provide any help for code-completion) The outline view is fixed by adding a few lines of javascript code in the following file: eclipse/plugins/com.aptana.ide.scr

[qooxdoo-devel] testing for successful JSON response

2007-06-19 Thread johnl
I'm sending requests for JSON data and would like to know the best way to test for a successful response. I'm sending this: req = new qx.io.remote.Request(url, qx.net.Http.METHOD_POST, qx.util.Mime.JSON) and on successful server response using: reqCompleted : function(e) { result = e.getC

[qooxdoo-devel] Combo box questions

2007-06-19 Thread johnl
I'm trying to figure out the best way to perform the following operations on a combo box: 1. Clearing the list 2. Programmatically moving forward and backward in the list 3. Looping through the list. If anyone has any examples, that's be great. Thanks. David --

Re: [qooxdoo-devel] How to cancel other Events

2007-06-19 Thread C.Bieser
Is there no other way as to add a condition to all the other event listener functions or to disable the other elements that could dispatch an event? is there no possibility to say "chancelDisappear"? -- View this message in context: http://www.nabble.com/How-to-cancel-other-Events-tf3946840.html

Re: [qooxdoo-devel] [qooxdoo-commit] SF.net SVN: qooxdoo: [8635] trunk/qooxdoo/frontend/framework/source/class/ qx/ui/table/rowrenderer/Default.js

2007-06-19 Thread Dietrich Streifert
Derrell Lipman schrieb: On 6/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: + * Please don't reuse the property by modifying the retreived value from + * getRowColors. + * + * Use a fresh created map because otherwise the property system does not + * detect the valu

Re: [qooxdoo-devel] Table row font and colors now themeable and settable in rev. 8634 of trunk

2007-06-19 Thread Dietrich Streifert
Derrell Lipman schrieb: On 6/19/07, Dietrich Streifert <[EMAIL PROTECTED]> wrote: I just commited modifications to the qx.ui.table implementation which allows the rows to be themeable and settable. ... @Derrell: please check if this work well with treevirtual. Hi Dietrich, I expect

Re: [qooxdoo-devel] Serious problem with online API viewer

2007-06-19 Thread thron7
Hugh Gibson wrote: > Just to clarify this point: I suggest that you specify a small timeout > e.g. 1 minute. Obviously the viewer caches data files itself in that they > are only loaded as required. Therefore the small timeout has no effect > during a single session of using the API viewer. However

[qooxdoo-devel] How to cancel other Events

2007-06-19 Thread C.Bieser
Hello, I have a form which sets a dirty-Flag if something was changed. How can I cancel events from the TreeView or from the Menu/TooolBar if they try to unload the form. I try to catch the "beforeDisapear" but I don't know how to cancel the other events and keep the form visible. Can You help me

[qooxdoo-devel] Menu icon overlaps

2007-06-19 Thread dperez
Hi, I've created a menu with an option that has an image a little wider than usual. The text overlaps with the image. How can I move the text to the right? Here are the relevant appearances: "menu" : { style : function(states) { return { backgroundColor : "

Re: [qooxdoo-devel] [qooxdoo-commit] SF.net SVN: qooxdoo: [8635] trunk/qooxdoo/frontend/framework/source/class/ qx/ui/table/rowrenderer/Default.js

2007-06-19 Thread Derrell Lipman
On 6/19/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > + * Please don't reuse the property by modifying the retreived value from > + * getRowColors. > + * > + * Use a fresh created map because otherwise the property system does not > + * detect the value change. This is lik

Re: [qooxdoo-devel] Table row font and colors now themeable and settable in rev. 8634 of trunk

2007-06-19 Thread Derrell Lipman
On 6/19/07, Dietrich Streifert <[EMAIL PROTECTED]> wrote: > I just commited modifications to the qx.ui.table implementation which > allows the rows to be themeable and settable. > ... > @Derrell: please check if this work well with treevirtual. Hi Dietrich, I expect to be (finally) getting back t

Re: [qooxdoo-devel] Dangerous optimizations

2007-06-19 Thread dperez
Updated http://qooxdoo.org/documentation/0.7/custom_builds with this valuable info. Sebastian Werner wrote: > > Optimize privates is not yet ready and should not be used currently > -- View this message in context: http://www.nabble.com/Dangerous-optimizations-tf3946204.html#a11195101 Sent

Re: [qooxdoo-devel] Dangerous optimizations

2007-06-19 Thread Sebastian Werner
Optimize privates is not yet ready and should not be used currently Sebastian dperez schrieb: > Hi, > > I've checked that my release version of qooxdoo 0.7 fails, whereas the debug > version works ok. > > Here are the additional settings for the release version: > --optimize-st

[qooxdoo-devel] How to update current theme

2007-06-19 Thread dperez
Hi, Here is a method of adding more appearances to current theme: function updateTheme() { qx.Theme.define("AparienciaMenu", { title: 'Menú', extend: qx.theme.manager.Appearance.getInstance().getAppearanceTheme(), appearances: {

[qooxdoo-devel] Dangerous optimizations

2007-06-19 Thread dperez
Hi, I've checked that my release version of qooxdoo 0.7 fails, whereas the debug version works ok. Here are the additional settings for the release version: --optimize-strings --optimize-private --optimize-base-call --optimize-varia

Re: [qooxdoo-devel] Ext appearance

2007-06-19 Thread Dietrich Streifert
Forgot to mention that this errors occured in the source version of showcase. And the Error seems to come from the theme select window. Dietrich Streifert schrieb: @Fabian: I saw your change in rev. 8628 of trunk where you removed the dependency from qx.theme.classic.Appearance. Now I'm get

Re: [qooxdoo-devel] Ext appearance

2007-06-19 Thread Dietrich Streifert
@Fabian: I saw your change in rev. 8628 of trunk where you removed the dependency from qx.theme.classic.Appearance. Now I'm getting errors about missing appearances in the console. The missing appearances I found: "table-pane", "table-header", "widget", "image", "atom", "window-captionbar-ti

Re: [qooxdoo-devel] Table row font and colors now themeable and settable in rev. 8634 of trunk

2007-06-19 Thread Dietrich Streifert
Just an additional hint how to modify the font and row color of a given qx.ui.table.Table instance: var rd = myTable.getDataRowRenderer(); // this sets the row font to bold rd.setFont("bold)"; // this sets the backgroundColor of the even unselected rows to red and // and odd unselected rows to

[qooxdoo-devel] General Question about qooxdoo's popularity

2007-06-19 Thread Tobias Koller (GERMO GmbH)
Hi list, I was discussing with a colleague of mine about qooxdoo and its popularity ( I told him how great it is ;) ). Do you have any idea/information about how many users using qooxdoo? Whenever I read something about ajax, js-frameworks, etc they always write about dojo, ... At lea

[qooxdoo-devel] Table row font and colors now themeable and settable in rev. 8634 of trunk

2007-06-19 Thread Dietrich Streifert
Hello List, I just commited modifications to the qx.ui.table implementation which allows the rows to be themeable and settable. For this purpose two properties exist: font and rowColors. font is a standard qooxdoo font property whereas rowColors is a map: The value of each property in the map

Re: [qooxdoo-devel] TabIndex -1

2007-06-19 Thread Ralf Sternberg
Fabian Jakobs schrieb: > I have updated the API doc for tabIndex with this information. > > Best Fabian Ok, thanks! I just wanted to make sure that we use your API properly ;-) Ralf - This SF.net email is sponsored by D

Re: [qooxdoo-devel] Shortcuts in cygwin

2007-06-19 Thread Tobias Koller (GERMO GmbH)
Thanks for the tip ;) I found the file. But I just found another solution. I modified the path in the passwd-file. So my default-dir is now my qooxdoo-dir ;) Thanks anyway! -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Leander Hanwald Gesendet

Re: [qooxdoo-devel] copy resources

2007-06-19 Thread Fabian Jakobs
dperez schrieb: > Hi, > > When activating the --copy-resources switch in a custom build, all the > resources are copied, not only the needed ones. > For example, qooxdoo only uses a few icons from icon/16/*, but also > icon/22/*, icon/128/* and so on are copied. > I find more practical to determine

Re: [qooxdoo-devel] Shortcuts in cygwin

2007-06-19 Thread Leander Hanwald
Sorry, ".bashrc" is right :) Cygwin created some default files when I started the bash the first time. I don't know if there is a situation when cygwin doesn't do that. Tobias Koller (GERMO GmbH) schrieb: > Thanks! > But I can't find a bash.rc-file... > > > -Ursprüngliche Nachricht- > Von

Re: [qooxdoo-devel] Serious problem with online API viewer

2007-06-19 Thread Hugh Gibson
> we are working on the issues you have brought up. Thanks :-) > 1. I have just updated the stable 0.7 API viewer online. Please > check, whether it is now working for you. After forcing a page refresh all is sweetness and light: GET http://demo.qooxdoo.org/current/apiviewer/script/qx.ui.core.

Re: [qooxdoo-devel] Resource missing

2007-06-19 Thread Fabian Jakobs
dperez schrieb: > Hi, > > I've discovered img/qooxdoo/widget/Ext/gradient/menu-background.png is > missing from the 0.7 release. > I consider this a bug. > > It is referenced here: > > "menu" : > { > style : function(states) > { > return { > backgroundColor : "

Re: [qooxdoo-devel] Context menu

2007-06-19 Thread Hugh Gibson
> I create commands with a keyboard assignment that I place inside > the context menu of the widget. I'd like that these commands were > active only when the widget has the focus. > > I have several multiselection listboxes, and have added the Ctrl+A > command to select all the items. This com

Re: [qooxdoo-devel] Context menu

2007-06-19 Thread Fabian Jakobs
dperez schrieb: > Hi, > > In order to improve the user experience of my app, I'll add context menus. > I would like them to appear on a right click. > > Questions: > 1) In menu_1.html I have seen this: > w1.addEventListener("mousedown", function(e) > { > e.setPropagationStopped(

Re: [qooxdoo-devel] Serious problem with online API viewer

2007-06-19 Thread Fabian Jakobs
Hi Hugh, we are working on the issues you have brought up. 1. I have just updated the stable 0.7 API viewer online. Please check, whether it is now working for you. 2. Thomas will configure our apache server to send proper cache headers and enable gzip compression. Best Fabian -

Re: [qooxdoo-devel] TabIndex -1

2007-06-19 Thread Fabian Jakobs
dperez schrieb: > In Parent.js, you can see this: > > // Deactivate focus handling > this.setTabIndex(-1); > > So, -1 must be a valid value. > > I have updated the API doc for tabIndex with this information. Best Fabian -

Re: [qooxdoo-devel] Shortcuts in cygwin

2007-06-19 Thread Tobias Koller (GERMO GmbH)
Thanks! But I can't find a bash.rc-file... -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Leander Hanwald Gesendet: Dienstag, 19. Juni 2007 09:56 An: qooxdoo Development Betreff: Re: [qooxdoo-devel] Shortcuts in cygwin You could save this in you

Re: [qooxdoo-devel] Ext appearance

2007-06-19 Thread dperez
Thanks Fabian, in this way smaller qx.js can be build. When I create a new appearance entry or update an existing one, I will try to update both themes. Fabian Jakobs-2 wrote: > > Hi David, > > the inheritance was mainly used for convenience because we could start > with only a small subset a

Re: [qooxdoo-devel] Shortcuts in cygwin

2007-06-19 Thread Leander Hanwald
You could save this in your bash.rc file in your homefolder (should be the folder the cygwin bash starts in). Sebastian Werner schrieb: > like is all unixes you can define a variable or an alias: > > alias qx="cd /home/myself/qooxdoo" > > or > > qx="/home/myself/qooxdoo" > cd $qx > > Hope this hel

Re: [qooxdoo-devel] Context menu

2007-06-19 Thread dperez
Thanks Hugh That is exactly what I was looking for. :-) Every day I discover a new feature of Qooxdoo. Another issue: I create commands with a keyboard assignment that I place inside the context menu of the widget. I'd like that these commands were active only when the widget has the focus. I

Re: [qooxdoo-devel] Context menu

2007-06-19 Thread Hugh Gibson
> In order to improve the user experience of my app, I'll add context > menus. I would like them to appear on a right click. Why don't you use an event listener for "contextmenu" ? It's part of widget - see http://demo.qooxdoo.org/devel/apiviewer/#qx.ui.core.Widget That way you are insulated fro

Re: [qooxdoo-devel] Is it possible to change an atom or label's text?

2007-06-19 Thread Fabian Jakobs
kumar balaji schrieb: > Hi > > Pls Try label.setHtml(); > > Or setText() if you are using qooxdoo 0.7 Best Fabian - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and

Re: [qooxdoo-devel] Drivin crazy with error messages

2007-06-19 Thread Fabian Jakobs
C.Bieser schrieb: > Is there no way to print helpful error messages? > > I just want to load a self defined class called "pim.ui.component.Editform" > within an event listener. But the following error message is the only thing > I get. > > [Exception... "'Error: Invalid Widget: [object pim.ui.comp

Re: [qooxdoo-devel] Ext appearance

2007-06-19 Thread Fabian Jakobs
dperez schrieb: > I have tried to comment the extend key, and seen no effect: > > qx.Theme.define("qx.theme.ext.Appearance", > { > // extend : qx.theme.classic.Appearance, > > title : "Ext", > > appearances : .. > > } > > So, the extend clause adds an unneeded dependency. > Am I right? > >

[qooxdoo-devel] copy resources

2007-06-19 Thread dperez
Hi, When activating the --copy-resources switch in a custom build, all the resources are copied, not only the needed ones. For example, qooxdoo only uses a few icons from icon/16/*, but also icon/22/*, icon/128/* and so on are copied. I find more practical to determine by hand what is needed and

Re: [qooxdoo-devel] Serious problem with online API viewer

2007-06-19 Thread Hugh Gibson
> It is published to the web. You can use /devel/ instead of > /current/. I'm aware of that. But I can't see any links to /devel/ from the qooxdoo site. > But "current" should always point to the last stable > release. Which is 0.7 currently. My point is that anyone evaluating qooxdoo at the

Re: [qooxdoo-devel] Serious problem with online API viewer

2007-06-19 Thread Hugh Gibson
> One problem which we have with all these things is that we need to > integrate it in the build system. The complete demo section > publishing works through the Makefiles checked in the SVN. We need > to manipulate them to do it. And we need to be sure that the build > versions (release archiv

[qooxdoo-devel] Resource missing

2007-06-19 Thread dperez
Hi, I've discovered img/qooxdoo/widget/Ext/gradient/menu-background.png is missing from the 0.7 release. I consider this a bug. It is referenced here: "menu" : { style : function(states) { return { backgroundColor : "menu", border : "gene

[qooxdoo-devel] Context menu

2007-06-19 Thread dperez
Hi, In order to improve the user experience of my app, I'll add context menus. I would like them to appear on a right click. Questions: 1) In menu_1.html I have seen this: w1.addEventListener("mousedown", function(e) { e.setPropagationStopped(true); }); What does t

Re: [qooxdoo-devel] Ext appearance

2007-06-19 Thread dperez
As a matter of fact, only a few appearance entries are reused. dperez wrote: > > I have tried to comment the extend key, and seen no effect: > > qx.Theme.define("qx.theme.ext.Appearance", > { > // extend : qx.theme.classic.Appearance, > > title : "Ext", > > appearances : .. > > } >