[qooxdoo-devel] Question about event bubuling

2012-09-05 Thread Benjamin Dreux
Hi I just noticed that when we call qx.core.MEvents.fireDataEvent it result in a non bubbling event. I don't question the fact, but i'm wondering why there is a difference between data event and default event. Regards -- Benjamin Dreux Analyste-Programmeur Chaire de logiciel libre-Finance Social

Re: [qooxdoo-devel] Server build with node.js using contribution library

2012-09-05 Thread Loren Schlomer
I don't use it myself, and it wouldn't get used on the node side of things. But since I'm trying to write a common library that can be used in the browser as well as with node, I'll need to further isolate the browser specific bits. On Wed, Sep 5, 2012 at 7:37 AM, Martin Wittemann wrote: > Hey

Re: [qooxdoo-devel] Server build with node.js using contribution library

2012-09-05 Thread Martin Wittemann
Hey, yes, thats excluded because it relies on window.onerror which does not work on node.js. Do you use the GlobalError class yourself or is it included by a class you use? Regards, Martin Am 04.09.2012 um 21:28 schrieb Loren Schlomer : > AHHH! found it! > > > qx.event.GlobalError is in the

Re: [qooxdoo-devel] this reference

2012-09-05 Thread Loren Schlomer
Good! Glad to help! On Wed, Sep 5, 2012 at 7:05 AM, media wrote: > hooray it works! > thank you Loren. > > qx.Class.define("tswmobile.page.BarcodeList", > { > extend : qx.ui.mobile.page.NavigationPage, > > members : > { > _initialize : function() > { > this.base(arguments);

Re: [qooxdoo-devel] this reference

2012-09-05 Thread media
hooray it works! thank you Loren. qx.Class.define("tswmobile.page.BarcodeList", { extend : qx.ui.mobile.page.NavigationPage, members : { _initialize : function() { this.base(arguments); var tlb1 = new qx.ui.mobile.toolbar.ToolBar(); this.add(tlb1); v

Re: [qooxdoo-devel] this reference

2012-09-05 Thread Loren Schlomer
Take a look at: qx.lang.Function.bind() This will return a function bound with the correct this pointer. So you'll do something like: var callback = qx.lang.Function.bind(this.__queryDB, this); and then use callback: db.transaction(callback) http://demo.qooxdoo.org/current/apiviewer/#qx.lang

Re: [qooxdoo-devel] this reference

2012-09-05 Thread media
thanks but the call *db.transaction.call(this, this.__queryDB)* does not work. here is the original example of the PhoneGap homepage http://docs.phonegap.com/en/2.0.0/cordova_storage_storage.md.html#Database http://docs.phonegap.com/en/2.0.0/cordova_storage_storage.md.html#Database *Ex

Re: [qooxdoo-devel] this reference

2012-09-05 Thread Ed Adasiewicz
Without knowing what db.transaction() performs, have you tried replacing db.transaction(this.__queryDB); with db.transaction.call(this, this.__queryDB); -- View this message in context: http://qooxdoo.678.n2.nabble.com/this-reference-tp7581251p7581253.html Sent from the qooxdoo mailing lis

[qooxdoo-devel] this reference

2012-09-05 Thread media
Hi there, im a Qooxdoo beginner and i have a problem with the 'this' reference. How do I get a 'this' reference in a member subfunction (__queryDB) does anyone have a solution for that? Thanks! qx.Class.define("tswmobile.page.BarcodeList", { extend : qx.ui.mobile.page.NavigationPage,

Re: [qooxdoo-devel] Toolbar Separator in mobile environment has no effect

2012-09-05 Thread Christopher Zündorf
Hi Kora, the toolbar separator might not have an effect in every theme. In Indigo theme it has an effect. As it brings space between the toolbar buttons. In iOS theme it is not used. As you can style it through your styles.css, you can easily make it having an effect =) Greetz Christophe

Re: [qooxdoo-devel] Simple widget with white background in mobile app

2012-09-05 Thread chrjab
Thank you for this advice, it was a great help. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Simple-widget-with-white-background-in-mobile-app-tp7581228p7581250.html Sent from the qooxdoo mailing list archive at Nabble.com. ---

Re: [qooxdoo-devel] Title bar background color

2012-09-05 Thread Benjamin Dreux
Hi I believe that's because of the decorator set to the container. And as Martin says it will be much more cleaner to add the container to the root app with option {edge:0} Regards 2012/9/5 kay : > I don't want that grey background,I want to change it to another color > > > > -- > View this messa

[qooxdoo-devel] Toolbar Separator in mobile environment has no effect

2012-09-05 Thread kora
Hi, I tried to use the qx.ui.mobile.toolbar.Separator. It seems to have no effect / the toolbar looks like the same as without the separator. Is this intended ? Cheers Kora -- View this message in context: http://qooxdoo.678.n2.nabble.com/Toolbar-Separator-in-mobile-environment-has-no-effec

Re: [qooxdoo-devel] Title bar background color

2012-09-05 Thread kay
I don't want that grey background,I want to change it to another color -- View this message in context: http://qooxdoo.678.n2.nabble.com/Title-bar-background-color-tp7581243p7581247.html Sent from the qooxdoo mailing list archive at Nabble.com. -

Re: [qooxdoo-devel] Title bar background color

2012-09-05 Thread Martin Wittemann
Then your code is correct. How do you tell that it does not work? Am 05.09.2012 um 13:01 schrieb kay : > I want to change the composite background color that I created > > > > -- > View this message in context: > http://qooxdoo.678.n2.nabble.com/Title-bar-background-color-tp7581243p7581245.

Re: [qooxdoo-devel] Title bar background color

2012-09-05 Thread kay
I want to change the composite background color that I created -- View this message in context: http://qooxdoo.678.n2.nabble.com/Title-bar-background-color-tp7581243p7581245.html Sent from the qooxdoo mailing list archive at Nabble.com.

Re: [qooxdoo-devel] Title bar background color

2012-09-05 Thread Martin Wittemann
Hey, you want to change the title bar of what? Sorry but I don't get it. A regular composite does not have a title bar? Or do you speak of the browsers title bar? > var main_container = new qx.ui.container.Composite(); > main_container.setWidth(qx.bom.Viewport.get

[qooxdoo-devel] Title bar background color

2012-09-05 Thread kay
Hi there ,I want to change title bar background color to black,but what is happening it change the body color . I only want title bar background color to change. here is my code : var main_container = new qx.ui.container.Composite(); main_container.setWidth(qx.b

Re: [qooxdoo-devel] Mobile warning message

2012-09-05 Thread Christopher Zündorf
Hi, i would say its harmless. But can you open a bug for this? Greetz Christopher Am 04.09.2012 um 20:39 schrieb Ed Adasiewicz: > I noticed that I get the following messages repeated in Firebug when I am > using a qx.ui.mobile.list.List: > > XUL box for li element contained an inline img chi