Re: [qooxdoo-devel] The menu instance needs a configured 'opener' widget!

2013-04-11 Thread 689137
Daniel, Awesome! This helped me! Thanks a bunch! -- View this message in context: http://qooxdoo.678.n2.nabble.com/The-menu-instance-needs-a-configured-opener-widget-tp7583199p7583223.html Sent from the qooxdoo mailing list archive at Nabble.com. -

Re: [qooxdoo-devel] The menu instance needs a configured 'opener' widget!

2013-04-11 Thread Daniel Wagner
I finally figured it out. qooxdoo's popup manager listens for native mousedown events on the document and closes any popups. So you just need to prevent the event you're listening to from bubbling up the DOM: ace.on("guttermousedown", function(e) { if (e.getButton() == 2) { qx.bom.Event.

Re: [qooxdoo-devel] How to save settings for mobile applications

2013-04-11 Thread Oleksandr Shneyder
Hi Andreas, It works :) thank you very much for your help! regards, Alex Am 11.04.2013 15:24, schrieb Andreas Parusel: > Hi Alex, > > Instead of using cookies, have a look at qx.bom.storage.Web, the qooxdoo > wrapper of HTML5 LocalStorage. It is well supported on mobile devices and > should w

Re: [qooxdoo-devel] slidebar question

2013-04-11 Thread Andreas Parusel
Hi Michael, If you have a look at the implementation of qx.ui.container.SlideBar, you will see that it contains a childControl named "content" which is a Composite-container. Instead of replacing your Composite with a SlideBar, dumping your stuff into its "content" childControl should work as

Re: [qooxdoo-devel] How to save settings for mobile applications

2013-04-11 Thread Andreas Parusel
Hi Alex, Instead of using cookies, have a look at qx.bom.storage.Web, the qooxdoo wrapper of HTML5 LocalStorage. It is well supported on mobile devices and should work fine within PhoneGap. Andreas Parusel Software Developer Applications & Integration 1&1 Internet AG Ernst-Frey-Straße 10 DE-76

[qooxdoo-devel] How to save settings for mobile applications

2013-04-11 Thread Oleksandr Shneyder
Hello List, I developing a mobile application for android and ios. I want to save some application settings, which I want to load after app is restarted. If I running app from mobile browsing, I save settings using qx.bom.Cookie. But if I running app using PhoneGap, I can not load cookies after ap

Re: [qooxdoo-devel] Error: forbiden name in constructor expression

2013-04-11 Thread fprijate
Hi This kind of assignement doesn't work : var xx= new xx.MyClass() ; // variable name 'xx' matches the first part of namespace This works OK : var xx1= new xx.MyClass(); // OK xx1.addListener(...) // but after var xx=''; // doesn't work anymore // So : Variables can't have name matching t

Re: [qooxdoo-devel] Error: forbiden name in constructor expression

2013-04-11 Thread John Spackman
That's normal Javascript; variable "hoisting" means that the variable xx is local to the method or block, and the new xx variable does not have a member called MyClass John On 11/04/2013 08:18, "fprijate" wrote: >Hi > >This kind of assignement doesn't work : > >var xx= new xx.MyClass() ; // v

Re: [qooxdoo-devel] Error: forbiden name in constructor expression

2013-04-11 Thread fprijate
Hi Sorry It's a feature of JavaScript. regards Franček -- View this message in context: http://qooxdoo.678.n2.nabble.com/Error-forbiden-name-in-constructor-expression-tp7583211p7583213.html Sent from the qooxdoo mailing list archive at Nabble.com. ---

[qooxdoo-devel] qx.ui.table.cellrenderer.Image 16px will be truncated...

2013-04-11 Thread Tobias Koller (GERMO GmbH)
Hi, in qx 0.7 I used the qx.ui.table.cellrenderer.Image with the size of 16x16px (default) and the image was shrinked to that size. In qx 2.1.1 the default is still 16x16px but if the image is bigger (f.e. 32.32) it will be truncated instead of been shrinked. Do I have to create images for ever

[qooxdoo-devel] Error: forbiden name in constructor expression

2013-04-11 Thread fprijate
Hi This kind of assignement doesn't work : var xx= new xx.MyClass() ; // variable name 'xx' matches the first part of namespace This works OK : var xx1= new xx.MyClass(); // OK regards Franček -- View this message in context: http://qooxdoo.678.n2.nabble.com/Error-forbiden-name-in-const

[qooxdoo-devel] slidebar question

2013-04-11 Thread Michael
Hi, I have a composite in my gui which is a drop target. Now I replaced it with a slidebar, which works quite good,...mostly :-) The drag and drop doesn't work anymore as expected, since for example the slidebar has no addChildWidget or removeChildWidget event and it doesn't react to the dragove