Re: [qooxdoo-devel] Can't migrate from qooxdoo v1.4 to 1.5 or current svn: i.body is null: Resolved

2011-09-19 Thread Marcel Ruff
The bug was reported already: http://bugzilla.qooxdoo.org/show_bug.cgi?id=5584 Thank you for all help, Marcel On 16.09.2011 09:12, thron7 wrote: Then please open a bug for it (Marcel, please add your observations as comments there). If you can narrow it down to some specifics of the applica

[qooxdoo-devel] Chrome Plugin: ShinyProxy/Qx Contrib: MutableList

2011-09-19 Thread Greg Hellings
Qooxdoo developers, I've just published a plugin for the Chrome web browser, named ShinyProxy, which is built entirely using Qooxdoo. As its name implies, it allows a user to manipulate a straightforward set and list of proxy setting presets for the Chrome browser. I created a new contrib that i

Re: [qooxdoo-devel] How to bind a text Field to a model?

2011-09-19 Thread Simon White
Hi I now have the binding working with the list model with the following code: this.__navView.__lstView.bind("selection[0].ID1",this.__txtId1,"value"); So now I just need to learn how to send changes made in the Name & address fields back to the model and how to ensure that get sent back to th

Re: [qooxdoo-devel] How to reference a image in another project?

2011-09-19 Thread Simon White
Hi When I tried the following it worked: this.__navView.__lstView.setIconOptions({converter: function(data) {return "../../dcbase/source/resource/dcbase/grdUnchecked.png";}}); Is that how I should be referencing the image in this situation? Thanks, Simon On 19/09/2011 3:34 PM, Fritz Zaucker

Re: [qooxdoo-devel] How to reference a image in another project?

2011-09-19 Thread Simon White
Hi Yes as the code below shows: /* #asset(dcbase/grdUnChecked.png) */ qx.Class.define("kardpoll.frmBPMaster", { extend : dcbase.frmStd, construct : function (tcTitle,tcIcon) { this.base(arguments,"Customer Manager","kardpoll/mnudcmain16.png",1024,768); ..

Re: [qooxdoo-devel] qxjqplot issues

2011-09-19 Thread Fritz Zaucker
If you give the proper jqplot options, it works. Here is an example from an application of mine (www.agrammon.ch): this.__currentGraph = new qxjqplot.Plot( data, function($jqplot){ //$jqplot.config.enablePlugins = true;

Re: [qooxdoo-devel] How to reference a image in another project?

2011-09-19 Thread Fritz Zaucker
Do you mention the image in an #asset statement in zour class file? Cheers, Fritz On Mon, 19 Sep 2011, Simon White wrote: > Hi > > The strange thing is that I have that line in my config.json and the > project has no problem find the classes from "dcbase" the only thing it > cannot find are the

Re: [qooxdoo-devel] How to bind a text Field to a model?

2011-09-19 Thread Simon White
Hi Daniel Lets assume for now I have name and address fields I want to display. I could bind each one of these fields to the list but then I have to have way to get the Name and address data from the store. So I was thinking a better approach would be to somehow have an event that triggered w

Re: [qooxdoo-devel] How to reference a image in another project?

2011-09-19 Thread Simon White
Hi The strange thing is that I have that line in my config.json and the project has no problem find the classes from "dcbase" the only thing it cannot find are the images. What I forgot to mention in my previous post was that was trying to reference this image from: this.__navView.__lstView.

[qooxdoo-devel] qxjqplot issues

2011-09-19 Thread telekosmos
Hi I am trying to get used with qxJqPlot but I came across a couple of issues: - does the tooltip on the chart work? I have notice the highlighting window example, similar to highlighter example in jqplot bundle, doesn't show the tooltips - the same for the zoom capabilites has anyone tried these

Re: [qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Benjamin Dreux
Follwing these advices http://manual.qooxdoo.org/current/pages/development/simulator_locators.html I've create a working locator qxhv=*/qx.ui.toolbar.ToolBar/*/[@label="my-label"] 2011/9/19 Benjamin Dreux : > Hi Daniel, > > Following your advice i tryied this locator > > qxhv=*/qx.ui.toolbar.Too

Re: [qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Benjamin Dreux
Hi Daniel, Following your advice i tryied this locator qxhv=*/qx.ui.toolbar.ToolBar/qx.ui.toolbar.Button This works fine. One step further, i want to select a specific toolbar button. My first idea was to use the label of the Button. So i used qxhv=*/qx.ui.toolbar.ToolBar/qx.ui.toolbar.Button[@

Re: [qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Daniel Wagner
Hi Benjamin, you don't need to modify your application for testing if you use the qxh and qxhv locators. They use an XPath-Style syntax to traverse the application's widget hierarchy. The locator qxh=qx.ui.toolbar.Button is interpreted as "A *child* of the application root that is an instance

[qooxdoo-devel] Creating test with Selnium IDE and qooxdoo user-extension

2011-09-19 Thread Benjamin Dreux
Hi I'm trying to create a test using the Selenium IDE. After reading the documentation on the topic, I tryed to use the qooxdoo user extension. I found a version of the qooxdoo user extension in the qooxdoo sdk (QOOXDOO_SDK/component/simulator/tool/user-extension/user-extension.js) I add this us

Re: [qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Daniel Wagner
Hi, if you want to add widgets to existing HTML elements, you should use a qx.ui.root.Inline: var html = 'CELL'; var embed = new qx.ui.embed.Html(html); embed.set({ width: 400, height: 300 }); embed.addListenerOnce("appear", function(ev) {

Re: [qooxdoo-devel] qx.core.ObjectRegistry.toHashCode is slow

2011-09-19 Thread Dave Baggett
Interesting. I will look at this today. I was using the IE8 profiler and it was reporting that method as using 1200 msec of around 3600 total time in the code. It's possible the profiler itself was confused. Let me see if I can create a small reproducer, or otherwise figure out what's going on. Da

Re: [qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Well, I wrote next code: var field = textArea.getContainerElement(); // textArea is a qx.ui.form.TextArea object var node = field.getDomElement(); cell.appendChild(node); // where cell is a td object but text area isn't shown in the cell. -- View this message in context: http://qooxdoo.678.n2.n

Re: [qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Well, I wrote next code: var field = textArea.getContainerElement(); // textArea is a qx.ui.form.TextArea object var node = field.getDomElement(); cell.appendChild(node); // where cell is a td object but text area isn't shown in the cell. -- View this message in context: http://qooxdoo.678.n2.n

Re: [qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Well, I wrote next code: var field = textArea.getContainerElement(); // textArea is a qx.ui.form.TextArea object var node = field.getDomElement(); cell.appendChild(node); // where cell is a td object but text area isn't shown in the cell. -- View this message in context: http://qooxdoo.678.n2.n

Re: [qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Well, I wrote next code: var field = textArea.getContainerElement(); // textArea is a qx.ui.form.TextArea object var node = field.getDomElement(); cell.appendChild(node); // where cell is a td object but text area isn't shown in the cell. -- View this message in context: http://qooxdoo.678.n2.n

Re: [qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Well, I wrote next code: var field = textArea.getContainerElement(); // textArea is a qx.ui.form.TextArea object var node = field.getDomElement(); cell.appendChild(node); // where cell is a td object but text area isn't shown in the cell. -- View this message in context: http://qooxdoo.678.n2.n

Re: [qooxdoo-devel] How to constraint Windows in a zone ?

2011-09-19 Thread franck34
On Mon, Sep 19, 2011 at 1:33 PM, Daniel Wagner wrote: > First of all, please make sure you reply to the mailing list ( > qooxdoo-devel@lists.**sourceforge.net) > so everybody can read your messages. > > Oups, sorry for that > I believe this issue was discussed just a short while ago: > http://q

[qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Hello, guys! In my application I have qx.embedded.html object with table (...). Also I have textArea object (qx.ui.form.TextArea). I need to replace thisArea object to a cell of this table. I have hoped to use next code: var elem = textArea.getContainerElement(); elem.useElement(cell); // where

[qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Hello, guys! In my application I have qx.embedded.html object with table (...). Also I have textArea object (qx.ui.form.TextArea). I need to replace thisArea object to a cell of this table. I have hoped to use next code: var elem = textArea.getContainerElement(); elem.useElement(cell); // where

[qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Hello, guys! In my application I have qx.embedded.html object with table (...). Also I have textArea object (qx.ui.form.TextArea). I need to replace thisArea object to a cell of this table. I have hoped to use next code: var elem = textArea.getContainerElement(); elem.useElement(cell); // where

[qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Hello, guys! In my application I have qx.embedded.html object with table (...). Also I have textArea object (qx.ui.form.TextArea). I need to replace thisArea object to a cell of this table. I have hoped to use next code: var elem = textArea.getContainerElement(); elem.useElement(cell); // where

[qooxdoo-devel] How to add ui element to DOM?

2011-09-19 Thread Ratibor Redoran
Hello, guys! In my application I have qx.embedded.html object with table (...). Also I have textArea object (qx.ui.form.TextArea). I need to replace thisArea object to a cell of this table. I have hoped to use next code: var elem = textArea.getContainerElement(); elem.useElement(cell); // where

Re: [qooxdoo-devel] How to constraint Windows in a zone ?

2011-09-19 Thread Daniel Wagner
First of all, please make sure you reply to the mailing list (qooxdoo-devel@lists.sourceforge.net) so everybody can read your messages. I believe this issue was discussed just a short while ago: http://qooxdoo.678.n2.nabble.com/Window-Drag-issue-td6743740.html#a6745344 Here's the enhancement bug

Re: [qooxdoo-devel] How to bind a text Field to a model?

2011-09-19 Thread Daniel Wagner
Hi Simon, since you only want to display the details of the selected item, the list's selection seems like the obvious choice as a binding source. "value" would be the target on the text field. Assuming your model objects have a "detail" property, you could do something like this: list.getSele

Re: [qooxdoo-devel] How do I show a combination of fields from a store in a List?

2011-09-19 Thread Daniel Wagner
Hi Simon, looks perfectly fine to me. The data.NamesList demo does it the same way, and that was written by Martin who created the data binding layer. Regards, Daniel On 09/16/2011 10:04 PM, Simon White wrote: > Hi > > The following seems to work is it "Best Practice"? > > this.__navView.__lst

Re: [qooxdoo-devel] qooxdoo et document.selection (IE)

2011-09-19 Thread Daniel Wagner
Hi, It looks like IE9 resets the text selection when the mousedown event fires on the Atom, even if preventDefault is called. Maybe you could listen for the mouseup event on your selectable element and store the selection: var text = new qx.ui.basic.Label("Select me!"); text.setS

Re: [qooxdoo-devel] about parts tech and core framework class depedent

2011-09-19 Thread Seldaiendil D. Flourite
I dont know so much about parts, but with "build-all" you builds every qooxdoo class, even the ones than you won't use. Use "build" to attach only the dependeces of your application. This will reduce qx.js size a lot. --- Seldaiendil 2011/9/19 linucos > Add: >Can i just use parts tech lik