qooxdoo

Can we access data from Manifest.json in qooxdoo Application (ie. version number)?

一曲冷凌霜 提交于 2021-01-28 18:50:26
问题 I'm developing libraries and end-user software using the qooxdoo framework for 7 years now. I wonder if we can store version number in one place in Manifest.json and get it from the application to display it to users. As we use short development cycles and demo/test and serve our apps on different servers we rely extensively on version numbers to talk to users. My question is : can we access data from Manifest.json in the application and particularly the info.version ? We currently use the

“qx.Class is undefined” when loading a qooxdoo application in source mode

烈酒焚心 提交于 2020-01-24 21:51:07
问题 When loading a qooxdoo application in source mode, I obtain the following chain of javascript errors: qx.Class is undefined [Break on this error] qx.Class.define("qx.lang.Object", Object.js (ligne 24) qx.Class is undefined [Break on this error] qx.Class.define("qx.lang.Type", Type.js (ligne 23) qx.lang is undefined [Break on this error] errorToString : qx.lang.Object.select( Core.js (ligne 61) qx.core.Property is undefined [Break on this error] qx.core.Property.attach(clazz); Class.js (ligne

Fields are as static fields in Qooxdoo library

╄→尐↘猪︶ㄣ 提交于 2020-01-02 07:27:06
问题 I'd like to use qx-oo (Qooxdoo) as OOP library. But I was confused by strange behaviour of field members. It's looks like that fields are shared between all objects of one class, like static members. For example, this test code qx.Class.define("com.BaseClass", { extend : qx.core.Object, members: { _children: [], getChildrenCount: function(){ return this._children.length; }, addChild: function(child){ this._children.push(child); } } }); var class1 = new com.BaseClass(); var class2 = new com

Qooxdoo - how do i create a new theme and use it in the application?

时间秒杀一切 提交于 2019-12-25 04:00:12
问题 I am quite new to qooxdoo and I need help in creating a custom theme for my application. I copied the native Modern theme and modified some of its features, now my question is how do I add it as new theme to qooxdoo and how can I use it in my application? any help or guidance would be greatly appreciated. 回答1: You don't need to copy it over, simply extending the theme would be good. If you created your app with the qooxdoo desktop skeleton using the create-application.py helper, you should

How to bind a tree to a model in qooxdoo? and what format the that should have?

╄→гoц情女王★ 提交于 2019-12-24 23:26:50
问题 I've been searching on Google but no help. I would like to know how to bind a Tree with a Model or Store, I don't even know which one is more suitable (http://manual.qooxdoo.org/1.6.x/pages/data_binding/data_binding.html). I have a service that fetches data from the database and saves data in it's store . this.__store = new qx.data.store.Json(url, delegate); this.__store.bind("model", this, "testData"); after the service updates, will dispatch an event and I'm listening to it: service

How to disable optimization in the qooxdoo build process?

我们两清 提交于 2019-12-23 17:26:24
问题 qooxdoo includes some optimizations in its build process which makes it hard to debug "build only" bug. How can I disable the the whole optimizations at once? 回答1: A simple way to achieve this is to set the OPTIMIZE macro to [] in your config.json's top-level "let" section: "let" : { ... OPTIMIZE : [] } 来源: https://stackoverflow.com/questions/1887622/how-to-disable-optimization-in-the-qooxdoo-build-process

TDD的JavaScript单元测试工具

一个人想着一个人 提交于 2019-12-22 20:39:45
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 我研究并考虑了许多JavaScript单元测试和测试工具,但一直无法找到合适的选项来保持与TDD的完全兼容。 那么,是否有一个完全符合TDD的JavaScript单元测试工具? #1楼 看一下 Dojo对象线束(DOH)单元测试框架 ,它是JavaScript单元测试的几乎与框架无关的工具,并且没有任何Dojo依赖项。 使用Dojo Objective Harness对Web 2.0应用程序进行单元测试时 ,对此有很好的描述。 如果要自动化UI测试(许多开发人员的 苦恼 ),请查看 doh.robot (临时向下更新:其他链接 http://dojotoolkit.org/reference-guide/util/dohrobot.html ) 和 dijit .robotx (暂时关闭) 。 后者专为验收测试而设计。 更新: 引用的文章介绍了如何使用它们,如何模拟用户使用鼠标和/或键盘与UI交互以及如何记录测试会话,以便以后可以自动“播放”它。 #2楼 作为专家,您可以“在实际的浏览器上运行”,但是根据我的经验,这是一个缺点,因为它运行缓慢。 但是,使之具有价值的是非浏览器替代品缺乏足够的JS仿真。 如果您的JS非常复杂,以至于仅在浏览器中进行测试就足够了,但是还可以考虑以下两个选项: HtmlUnit :

How can I make Qooxdoo virtual list scalable?

*爱你&永不变心* 提交于 2019-12-22 00:21:51
问题 I need to show list of data , at least 1 million rows (Big data , machine learning). I do not need to show at once , remotetablemodel of qooxdoo table works fine but instead of table i choose list as design choice. Below is a test i've made. //create the model data, 1mil items var rawData = []; for (var i = 0; i < 1000000; i++) { rawData[i] = "Item No " + i; } var model = new qx.data.Array(rawData); //create the list var list = new qx.ui.list.List(model); this.getRoot().add(list); I

what is the next step?

随声附和 提交于 2019-12-11 08:56:00
问题 When I type "python" it displays: ActivePython 2.6.5.14 (ActiveState Software Inc.) based on Python 2.6.5 (r265:79063, Jul 4 2010, 21:05:58) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. This is what I get at the command line: >>> python create-application.py File "<stdin>", line 1 python create-application.py ^ SyntaxError: invalid syntax What should I do to work in Qooxdoo. 回答1: Apparently you are confusing between the Python

Qooxdoo: Reuse desktop classes in mobile application

时间秒杀一切 提交于 2019-12-11 08:39:31
问题 I have a full-grown qooxdoo desktop application and a freshly created mobile application. I want to reuse existing classes from my desktop app in my mobile app. I modified the configuration file so that the compiler knows about the paths. Just adding a desktop widget to a mobile page is not possible because they seem to be completely incompatible: var title = new myapp.ui.basic.Label("Test"); page1.getContent().add(title); produces: Uncaught TypeError: Object #<HTMLDivElement> has no method