Re: [qooxdoo-devel] integrate contrib
i wanted to recommend the '-q' option of the generator to you, but i just saw that it doesn't work as advertised anymore :-(. i've opened a bug for this (#3722). t. On 05/20/2010 05:30 AM, rsantiagopaz wrote: > > Thanks for all. Some your comments made me think about some wrong settings in > my Eclipse. Now is working all. > > > > I suppose this warning: > > > INITIALIZING: PRUEBA > Configuration: config.json Jobs: source Resolving config includes... > - ! Shadowing job "libraries" with local one Resolving jobs... > > is normal. > If are any way for avoid this warning, it would be good to know how is the > correct way -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
[qooxdoo-devel] Render a branch row in treevirtual
Hi all, I'm extending treevirtual to be able to show calculated values for branches like count of leafs, avg, total min or max value in additional columns (those of you knowing Lotus Notes - I mimic the categorized views in Lotus Notes). There is an easy way to set the style for the branch label with nodeSetCellStyle. But how can you do this for the entire branch row? I found createRowStyle and IRowRenderer but I do not get the idea on how to implement it for a treevirtual as the rownumber will change whenever the user expands or collapse the tree. An idea and code snippet would be much appreciated Thanks in advance Raimund -- View this message in context: http://qooxdoo.678.n2.nabble.com/Render-a-branch-row-in-treevirtual-tp5077050p5077050.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
[qooxdoo-devel] HTML code not working in table
I saw that I cannot add buttons table data and I've tried to use some HTML code in a tabel column which has an qx.ui.table.cellrenderer.Html() renderer. My problem is: if I click on the image i don't receive the alert. The example is http://tinyurl.com/29tvgd4 here . I need an advise in order to make it work. Thanks in advance! -- View this message in context: http://qooxdoo.678.n2.nabble.com/HTML-code-not-working-in-table-tp5076354p5076354.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] HTML code not working in table
Hello Sid, cell renderer are just responsible for displaying content. They will not listen to events and therefore they don't retrieve events. Use the "cellClick" event and check which cell has been clicked in order to perform the corresponding action: http://demo.qooxdoo.org/current/demobrowser/#table~Table_Events.html Kind regards Jonathan - Jonathan Weiß Framework Engineer http://mysterycity.de/blog Blog - http://www.linkedin.com/in/jonathanrass LinkedIn - http://www.xing.com/profile/Jonathan_Weiss5 XING -- View this message in context: http://qooxdoo.678.n2.nabble.com/HTML-code-not-working-in-table-tp5076354p5079501.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Render a branch row in treevirtual
On Wed, May 19, 2010 at 17:28, SimplyNotes wrote: > > Hi all, > I'm extending treevirtual to be able to show calculated values for branches > like count of leafs, avg, total min or max value in additional columns > (those of you knowing Lotus Notes - I mimic the categorized views in Lotus > Notes). There is an easy way to set the style for the branch label with > nodeSetCellStyle. But how can you do this for the entire branch row? > I found createRowStyle and IRowRenderer but I do not get the idea on how to > implement it for a treevirtual as the rownumber will change whenever the > user expands or collapse the tree. > An idea and code snippet would be much appreciated > Raimund, you're on the right track. The createRowStyle() method of the row renderer is called to style the row, and it is passed a parameter called rowInfo which is an object containing the information you need. Specifically, it contains the following members: table -- the table (treevirtual, in your case) object in which this row is a part row -- the row number being rendered selected -- a boolean indicating whether this row is currently selected focusedRow -- a boolean indicating whether this row is currently focused rowData -- the row data from the data model, for this row. The other possibly relevant methods are getRowClass() which is passed a parameter rowInfo with the same data as just described, and updateDataRowElement(), which is passed both a rowInfo object and the dom element (div) for a row. For your purposes, you can extend qx.ui.table.rowrenderer.Default and override these three methods, using data in the rowInfo object to determine how to render the row. If your subclass is called custom.RowRenderer then you'd specify that it should be used by calling treevirtual.setRowRenderer(new custom.RowRenderer(treevirtual)); Hope that helps get you started. Derrell -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
[qooxdoo-devel] USERNAME support for config.json
I like to be able to put the CACHE into a 'private' directory therefore I'd liketo use something like: "CACHE": "/scratch/qooxdoo-cache/${USERNAME}", in config.json I found that the following patch makes this possible: --- ./pylib/generator/config/Defaults.py~ 2010-05-20 15:19:08.0 +0200 +++ ./pylib/generator/config/Defaults.py2010-05-20 15:19:08.0 +0200 @@ -32,5 +32,5 @@ let = { u"TMPDIR" : tempfile.gettempdir(), u"QOOXDOO_VERSION" : getQooxdooVersion(), -u"USER" : os.getenv('USERNAME') +u"USERNAME" : os.getenv('USERNAME') } I have reported this as Bug 3725 cheers tobi -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] HTML code not working in table
Hi Jonathan, thanks for your answer! Regards, sid -- View this message in context: http://qooxdoo.678.n2.nabble.com/HTML-code-not-working-in-table-tp5076354p5079592.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] USERNAME support for config.json
cheers, tobi i assume you added the patch to the bug?! t. On 05/20/2010 03:22 PM, Tobias Oetiker wrote: > I like to be able to put the CACHE into a 'private' directory > therefore I'd liketo use something like: > > "CACHE": "/scratch/qooxdoo-cache/${USERNAME}", > > in config.json > > I found that the following patch makes this possible: > > --- ./pylib/generator/config/Defaults.py~ 2010-05-20 15:19:08.0 > +0200 > +++ ./pylib/generator/config/Defaults.py2010-05-20 15:19:08.0 > +0200 > @@ -32,5 +32,5 @@ > let = { > u"TMPDIR" : tempfile.gettempdir(), > u"QOOXDOO_VERSION" : getQooxdooVersion(), > -u"USER" : os.getenv('USERNAME') > +u"USERNAME" : os.getenv('USERNAME') > } > > I have reported this as Bug 3725 > > cheers > tobi > -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
[qooxdoo-devel] Label bug with Google Chrome?
I am receiving a strange error message when I try to load a qooxdoo application that I have written--and the this application does not even load: /qooxdoo-1.0-sdk/framework/source/class/qx/log/appender/Native.js:91000996 qx.core.Init: Load runtime: 996ms /qooxdoo-1.0-sdk/framework/source/class/qx/ui/core/Widget.js:1899Uncaught TypeError: Object qx.ui.basic.Label[3u] has no method 'getLayoutParent' My application loads fine in other web browsers, such as firefox, IE, etc. Any thoughts? -- View this message in context: http://qooxdoo.678.n2.nabble.com/Label-bug-with-Google-Chrome-tp5080491p5080491.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Label bug with Google Chrome?
which version of chrome are you using? any chance you test this with qooxdoo 1.1? t. On 05/20/2010 06:28 PM, ndm40 wrote: > > I am receiving a strange error message when I try to load a qooxdoo > application that I have written--and the this application does not even > load: > > /qooxdoo-1.0-sdk/framework/source/class/qx/log/appender/Native.js:91000996 > qx.core.Init: Load runtime: 996ms > /qooxdoo-1.0-sdk/framework/source/class/qx/ui/core/Widget.js:1899Uncaught > TypeError: Object qx.ui.basic.Label[3u] has no method 'getLayoutParent' > > My application loads fine in other web browsers, such as firefox, IE, etc. > Any thoughts? > > -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] integrate contrib
I understand you thron7-2, using the quiet mode. But I meant another thing, please sorry. I try reformulate better the question: Which is the standard or correct form to structure my project and which is the correct form to write correctly my config.json, Manifest.json, etc, for add any number of libraries and not get this warning. Or maybe this simple warning is TOTALLY normal and intended, like Christian say, there are not another way to do this. -- View this message in context: http://qooxdoo.678.n2.nabble.com/integrate-contrib-tp5072872p5081069.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
[qooxdoo-devel] Time-out handler on qx.io.remote.Rpc
Hi, I tried var rpc = new qx.io.remote.Rpc; rpc.addListener('timeout', function() { alert('My time-out hander'); }, this); It seems to me that the above handler is never called. Looking at qx/io/remote/Rpc.js it seems that there is a timeout handler installed there. Does this imply that my own handler won't be invoked? Would I have to extend from qx.io.remote.Rpc and redefine _callInternal()? Or am I doing something wrong above? Would I have to use callAsyncListeners() instead if I want to catch timeout events? Cheers, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker+41 62 775 9900 (switch board) Aarweg 15+41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Time-out handler on qx.io.remote.Rpc
Today Fritz Zaucker wrote: > Hi, > > I tried > > var rpc = new qx.io.remote.Rpc; > rpc.addListener('timeout', function() { > alert('My time-out hander'); > }, this); > > It seems to me that the above handler is never called. Looking at > qx/io/remote/Rpc.js it seems that there is a timeout handler installed > there. Does this imply that my own handler won't be invoked? Would I have to > extend from qx.io.remote.Rpc and redefine _callInternal()? > > Or am I doing something wrong above? > > Would I have to use callAsyncListeners() instead if I want to catch timeout > events? > > Cheers, > Fritz > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Time-out handler on qx.io.remote.Rpc
Hi Fritz, Today Fritz Zaucker wrote: > Hi, > > I tried > > var rpc = new qx.io.remote.Rpc; > rpc.addListener('timeout', function() { > alert('My time-out hander'); > }, this); > > It seems to me that the above handler is never called. Looking at > qx/io/remote/Rpc.js it seems that there is a timeout handler installed > there. Does this imply that my own handler won't be invoked? Would I have to > extend from qx.io.remote.Rpc and redefine _callInternal()? > > Or am I doing something wrong above? > > Would I have to use callAsyncListeners() instead if I want to catch timeout > events? yes the rpc events are only generated if you call callAsyncListeners (http://demo.qooxdoo.org/current/apiviewer/#qx.io.remote.Rpc~callAsyncListeners) when running with callAsync, then the normal handler will be called with the exception set. cheers tobi > Cheers, > Fritz > > > -- Tobi Oetiker, OETIKER+PARTNER AG, Aarweg 15 CH-4600 Olten, Switzerland http://it.oetiker.ch t...@oetiker.ch ++41 62 775 9902 / sb: -9900 -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] integrate contrib
> > I understand you thron7-2, using the quiet mode. But I meant another > thing, > please sorry. > I try reformulate better the question: > Which is the standard or correct form to structure my project and which is > the correct form to write correctly my config.json, Manifest.json, etc, > for > add any number of libraries and not get this warning. > > > Or maybe this simple warning is TOTALLY normal and intended, like > Christian > say, there are not another way to do this. Yes, that's the point. We deliberately shadow jobs, that's a basic technique, which is also the recommended way for users to customize existing jobs. The warnings are just to make sure you don't shadow an existing job *accidentially*, when you chose a name for an own job that by chance matches that of a pre-defined one. That's all. T. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Time-out handler on qx.io.remote.Rpc
On Thu, May 20, 2010 at 11:18 PM, Tobias Oetiker wrote: > > > Would I have to use callAsyncListeners() instead if I want to catch > timeout > > events? > > yes the rpc events are only generated if you call > callAsyncListeners > ( > http://demo.qooxdoo.org/current/apiviewer/#qx.io.remote.Rpc~callAsyncListeners > ) > > when running with callAsync, then the normal handler will be called > with the exception set. > yep, I have successfully used the following test in normal handlers to catch timeouts: if (exc != null && exc.code == qx.io.remote.Rpc.localError.timeout) { //do something } -ilkka -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] Time-out handler on qx.io.remote.Rpc
Hi Tobi, Ilkka On Thu, 20 May 2010, Ilkka Oksanen wrote: > On Thu, May 20, 2010 at 11:18 PM, Tobias Oetiker wrote: >> >>> Would I have to use callAsyncListeners() instead if I want to catch >>> timeout events? >> >> yes the rpc events are only generated if you call >> callAsyncListeners >> >> when running with callAsync, then the normal handler will be called >> with the exception set. > > > yep, I have successfully used the following test in normal handlers to catch > timeouts: > > if (exc != null && exc.code == qx.io.remote.Rpc.localError.timeout) > { > //do something > } Thanks, that makes it clear. Not really obvious from the API how the various errors are handled with callAsync(), I think ... Cheers, Fritz -- Oetiker+Partner AG tel: +41 62 775 9903 (direct) Fritz Zaucker+41 62 775 9900 (switch board) Aarweg 15+41 79 675 0630 (mobile) CH-4600 Olten fax: +41 62 775 9905 Schweiz web: www.oetiker.ch -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
[qooxdoo-devel] (table) context menu does not work on Windows/Firefox?!
Hey, some of my users have reported that the context menu in my table does not work under Windowx / Firefox 3.5.x - as I don't have Windows at home I never ran into this. Just checked it on a machine at work to which I have remote access and yes, if I click the right mouse button, nothing happens (not even the native context menu comes up). My qx version is 1.0.2 and the code is: _handleTableMenu: function(col, row, table, tm, menu) { var app = qx.core.Init.getApplication(); var path; if(row != null) path = tm.getRowData(row).path; var cpybtn = new qx.ui.menu.Button("Copy", "icon/22/actions/edit-copy.png"); cpybtn.addListener("execute", function() { app.clipboard.removeAll(); app.clipboard.push(path); app.clip_action = "copy"; }, this); var aclbtn = new qx.ui.menu.Button("Edit Access Control List"); var cutbtn = new qx.ui.menu.Button("Cut", "icon/22/actions/edit-cut.png"); var delbtn = new qx.ui.menu.Button("Delete", "icon/22/actions/edit-delete.png"); var renbtn = new qx.ui.menu.Button("Rename"); menu.add(aclbtn); menu.add(cutbtn); menu.add(cpybtn); menu.add(renbtn); } I have removed the event handler code and other unnecessary stuff. On Ubuntu / Firefox 3.5.x/3.6.x everything works. Is that a known problem? Thanks in advance Jörg -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] (table) context menu does not work on Windows/Firefox?!
On Thu, May 20, 2010 at 17:58, Jörg Sawatzki wrote: > Hey, > > some of my users have reported that the context menu in my table does > not work under Windowx / Firefox 3.5.x - as I don't have Windows at home > I never ran into this. Just checked it on a machine at work to which I > have remote access and yes, if I click the right mouse button, nothing > happens (not even the native context menu comes up). > If you are using MTableContextMenu then this is a known issue that I hope to address in the coming weeks. For some reason, that mixin does not work properly on any browser under Windows, but works fine under Linux. Derrell -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
Re: [qooxdoo-devel] (table) context menu does not work on Windows/Firefox?!
FWIW, I've been working around this for the last three releases by adding a single line to qx/ui/table/columnmenu/Button.js: case "menu": var menu = new qx.ui.menu.Menu(); this.setMenu(menu); // DMB HACK TO MAKE COLUMN MENU APPEAR: menu.addListener("appear", function () { options.table._initColumnMenu.call(options.table); }, this); return menu; -- View this message in context: http://qooxdoo.678.n2.nabble.com/table-context-menu-does-not-work-on-Windows-Firefox-tp5081778p5082159.html Sent from the qooxdoo mailing list archive at Nabble.com. -- ___ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel