Re: [qooxdoo-devel] Window background gradient

2010-04-20 Thread Jim Hunter
Yes, this sounds like the simple solution I was looking for. I'll give it a try tomorrow. Sometimes the answer is so obvious you can't think of it. Thanks! Jim On Tue, Apr 20, 2010 at 6:27 PM, Simon Bull wrote: > I haven't tried it, but can't you simply use setDecorator("toolbar") on the > co

Re: [qooxdoo-devel] Adding new nodes to a tree model

2010-04-20 Thread MartinWittemann
Hello Alexander, Data Binding will always add TreeFolders because an empty tree folder is like a TreeFile in qooxdoo. So just remove the children property or leave it empty will add a leave. Regards, Martin -- View this message in context: http://n2.nabble.com/Adding-new-nodes-to-a-tree-model-

Re: [qooxdoo-devel] Window background gradient

2010-04-20 Thread Simon Bull
I haven't tried it, but can't you simply use setDecorator("toolbar") on the content area of your popup (replacing "toolbar" with whatever decorator you like most)? http://demo.qooxdoo.org/current/demobrowser/#ui~Decoration.html shows them all in action. Simon On Wed, Apr 21, 2010 at 8:38 AM, J

[qooxdoo-devel] Window background gradient

2010-04-20 Thread Jim Hunter
I have searched the archives and didn't see an answer to this: I need to have a gradient background in my popup windows similar to the gradient background of the toolbars. I don't have to apply the background directly to the window as I have a single container that holds all my controls that I coul

Re: [qooxdoo-devel] qx.ui.embed.Iframe of fixed width

2010-04-20 Thread Dave Baggett
Thanks Alex. I ended up using a ThemedIframe, which seems to do the right thing. I had to put in a hack to prevent two scrollbars from coming up in some cases (one native, one styled); when I set the body content, I have to do: body.style.overflow = "hidden"; to suppress the native scrollbar a

Re: [qooxdoo-devel] image resize/crop widget?

2010-04-20 Thread Gregory Beaver
Hi, I am more concerned with the resize/cropping, I can easily upload first. Greg On Apr 20, 2010, at 6:16 AM, thron7 wrote: > > >> I am looking for a pre-existing widget that would allow >> manipulating a >> local image and then uploading it. Basically, I'd like to be able to >> pass along

Re: [qooxdoo-devel] Set the background-attachment to scroll for a list?

2010-04-20 Thread joakim_
Thomas, thank you very much for your solution, it worked! :) Here is how the code look like: var pane = list.getChildControl("pane"); pane.addListener("scrollY", function(e) { list.getDecoratorElement().setStyle("background-position", "0 -" + pane.getScrollY() + "px");

Re: [qooxdoo-devel] Placing the source build on the server

2010-04-20 Thread thron7
You'll find everything you need to know in this piece of documentation: http://qooxdoo.org/documentation/1.0/snippets#running_a_source_version_from_a_web_server T. On 04/20/2010 07:10 PM, f...@mail.dnttm.ro wrote: > Hi. > > In order to debug the app, I place the result of generate source on the

[qooxdoo-devel] Placing the source build on the server

2010-04-20 Thread flj
Hi. In order to debug the app, I place the result of generate source on the server, plus qooxdoo/framework, so all javascript files are available. However, the URIs generated in the script contain something like ../source/..., whereas I'd need them to contain something like .../my_java_app/...

[qooxdoo-devel] Placing the source on the server

2010-04-20 Thread flj
Hi. I derived a servlet from RPCJava, and now I try to test it. In order to do so, I put the source build (generate source) plus the framework folder of qooxdoo on the server, in such a way that all javascript files are found. I get this before any piece of code in my Application.js is touched

Re: [qooxdoo-devel] how to exclude some fields from model?

2010-04-20 Thread thron7
You either - write your own serializer wrapper, or - maintain a second model for just the data you want. For the first option, it might suffice to write an own 'serialize' method, that walks through the properties of your model and skips the ones you want to leave out: serialize : function (mod

Re: [qooxdoo-devel] Set the background-attachment to scroll for a list?

2010-04-20 Thread thron7
On 04/20/2010 05:19 PM, joakim_ wrote: > > Hi there. I'm wondering if it's possible to set the background-attachment to > scroll for a list, so the background following when scrolling with the > scrollbars? There is no build-in support for that, you would have to roll your own solution. The bas

Re: [qooxdoo-devel] qx.ui.embed.Iframe of fixed width

2010-04-20 Thread Alexander Steitz
Hi Dave, On Tuesday April 20 2010 17:12:55 Dave Baggett wrote: > This seems like something that should have come up before, but I can't find > anything in the forum about it. Is there a way to suppress the horizontal > scrollbars and force the iframe content to wrap? I want to do what a normal > b

[qooxdoo-devel] Remote table exemple not loading data problem

2010-04-20 Thread Yan Guiborat
Hi, This is my first try into remote data table, my question might be stupid: I took the remote model exemple and modified it like this; ... _loadRowCount : function() { // Call the backend service (example) - using XmlHttp var rpc = new qx.io.remote.Rpc(

[qooxdoo-devel] Set the background-attachment to scroll for a list?

2010-04-20 Thread joakim_
Hi there. I'm wondering if it's possible to set the background-attachment to scroll for a list, so the background following when scrolling with the scrollbars? Any help is very appreciated, thanks! :) -- View this message in context: http://old.nabble.com/Set-the-background-attachment-to-scroll

[qooxdoo-devel] qx.ui.embed.Iframe of fixed width

2010-04-20 Thread Dave Baggett
This seems like something that should have come up before, but I can't find anything in the forum about it. Is there a way to suppress the horizontal scrollbars and force the iframe content to wrap? I want to do what a normal browser does: the width is fixed, but the height varies to fit the conte

[qooxdoo-devel] how to exclude some fields from model?

2010-04-20 Thread ReHa
How can I exclude some form-fields out of my model (or controller?), bevore sending the model-data to database (because some form-fields are only gui-relevant - not database-relevant? var form = new qx.ui.form.Form(); var a = new qx.ui.form.TextField(); var b = new qx.ui.form.TextField(); var c =

Re: [qooxdoo-devel] Application.onScriptLoaded()

2010-04-20 Thread Petr Kobalíček
Hi Martin, As I said, I'm using custom loader, but I see my scripts loaded, only problem is that application will not initialize. I'm calling onApplicationLoaded() manually, but without effect). How should I do to tell qooxdoo to initialize the application? I mean to instantiate application insta

Re: [qooxdoo-devel] Application.onScriptLoaded()

2010-04-20 Thread MartinWittemann
Hello Petr, do you use parts in your application? We have changed the part implementation to wrap all parts in a closure to make them loadable in parallel. Maybe thats the problem? Regards, Martin -- View this message in context: http://n2.nabble.com/Application-onScriptLoaded-tp4909328p4930793.

Re: [qooxdoo-devel] Selenium with qooxdoo

2010-04-20 Thread Olivier ZORO-BI
Daniel Wagner wrote: > Hi Olivier, > > you have to load the qooxdoo user extensions into Selenium IDE as > described here: > > http://qooxdoo.org/contrib/project/simulator#installing_in_selenium_ide > > Regards, > Daniel > > Olivier ZORO-BI schrieb: >> Daniel Wagner wrote: >>> Hi Olivier, >>> >>>

Re: [qooxdoo-devel] image resize/crop widget?

2010-04-20 Thread thron7
> I am looking for a pre-existing widget that would allow manipulating a > local image and then uploading it. Basically, I'd like to be able to > pass along information to the server such as "crop to these dimensions > and then resize to these dimensions" which I can easily do server-side. > Do

Re: [qooxdoo-devel] Selenium with qooxdoo

2010-04-20 Thread Daniel Wagner
Hi Olivier, you have to load the qooxdoo user extensions into Selenium IDE as described here: http://qooxdoo.org/contrib/project/simulator#installing_in_selenium_ide Regards, Daniel Olivier ZORO-BI schrieb: > Daniel Wagner wrote: >> Hi Olivier, >> >> > [...@widgetid=window2]/[...@widgetid=tabv

Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD

2010-04-20 Thread marbin
Well, I can at least provide some snippets. This is a part of the HTML I use as the source of my qx.ui.embed.Iframe component. .. old content another cell old span content old P content Test This is the callback for the testButton _onTestButtonClick : function(e) { var domC

Re: [qooxdoo-devel] Themes and Internet Explorer

2010-04-20 Thread Jonathan Weiß
Hello ilkka, to load png images the Internet Explorer will use a technique called Alpha Image Loader (AIL). When images are combined to a single image ("CSS sprite") the images are display as background image with a background position. The problem is that AIL does not work together with backgro

Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD

2010-04-20 Thread Alexander Steitz
On Tuesday April 20 2010 10:05:55 marbin wrote: > As I mentioned earlier, the empty() method seems to have no effect at all. > I have tested it on , and the content inside the element is left > unchanged. > Is this a bug? I've just tested it and it worked fine for me. Can you please provide an e

Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD

2010-04-20 Thread Mattias.Arbin
Thanks, that did it. /Mattias -Original Message- From: Alexander Steitz [mailto:alexander.ste...@1und1.de] Sent: den 20 april 2010 10:26 To: qooxdoo-devel@lists.sourceforge.net Subject: Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD Hi, On Tuesday April 20 2010 09:42:43

Re: [qooxdoo-devel] Selenium with qooxdoo

2010-04-20 Thread Olivier ZORO-BI
Daniel Wagner wrote: > Hi Olivier, > > > [...@widgetid=window2]/[...@widgetid=tabview] > > This part of your locator seems strange to me since your Inspector > screenshot shows the TabView within the second of two Composite > containers. Try replacing this part with > > [...@widgetid=window2]/chi

Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD

2010-04-20 Thread Alexander Steitz
Hi, On Tuesday April 20 2010 09:42:43 marbin wrote: > No, not really. With the snippet above, you would end up replacing the td > element itself. > If you initially have > .. > > old content> > > > you would end up with > > new content > > > I want something similar to the DOM-level "innerHt

[qooxdoo-devel] Enterprise-ready Backend for Qooxdoo?

2010-04-20 Thread Cui,Daojun
Hi Forks, I am a newbie to qooxdoo, and i have been playing a little with the qooxdoo demos with the java backend RpcJava, And I am wandering how you guys would choose a backend for qooxdoo? Actually the plan is : Frontend: qooxdoo Backend: RpcJava WebServer: Tomcat JRE: Java 1.6 Python:

Re: [qooxdoo-devel] odd model behavior with qx.ui.tree.TreeFolder

2010-04-20 Thread MartinWittemann
Hello Greg, I took a look at your example but I really cold not figure out whats happening here. Sorry! But if you say that cloning the reference helps, then someone dispose the former model. Or... do you rely on the changeModel event? Maybe thats the clue! But the code raised some questions. Why

Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD

2010-04-20 Thread marbin
As I mentioned earlier, the empty() method seems to have no effect at all. I have tested it on , and the content inside the element is left unchanged. Is this a bug? -- View this message in context: http://n2.nabble.com/qx-bom-Collection-replacing-content-in-TD-tp4924924p4929946.html Sent fro

Re: [qooxdoo-devel] SelectionBox missing UserData

2010-04-20 Thread dragon2k...@gmx.de
Hi, thank you. sometimes im real blind:) > Hi, > > after reading your code (which is not that easy to read), I found your > problem... > > this.toolbarbuttons["Zugriffsrechte"]["userauswahl"].getSelection()[0].getUserData["name"] > > getUserData is a method and not any kind of map where you can ac

Re: [qooxdoo-devel] qx.bom.Collection, replacing content in TD

2010-04-20 Thread marbin
Alexander Steitz wrote: > > > --snip-- > var domCollection = qx.bom.Collection.create(this.getDocument()); > var td = domCollection.find("#myTD"); > td.replaceWith("new content"); > --snip-- > > Is this the method you searched for? > > cheers, > Alex > No, not really. With the snippet abov