Re: [qooxdoo-devel] window caption bar icon size

2011-05-09 Thread Tristan Koch
… in case you want to achieve the latter, did you try something like this: var win = new qx.ui.window.Window("First Window", "icon/16/apps/office-calendar.png"); var icon = win.getChildControl("icon") icon.setWidth(32); icon.setHeight(32); icon.setScale(true); Tristan Am 09.05.2011 um 23:57 sch

Re: [qooxdoo-devel] window caption bar icon size

2011-05-09 Thread Tristan Koch
Hi Victor, If you choose a larger icon, the caption bar should adjust. Do you want to make an existing icon appear larger or smaller? Tristan Am 09.05.2011 um 23:57 schrieb Victor Powell: > > hello all, > > I'd really like to be able to change the size of the icon in the caption bar. > anyo

Re: [qooxdoo-devel] Problem with RadioButtonGroup and changeSelection

2011-05-09 Thread Tristan Koch
Hi Daniel, the data event you receive in your listener for the "changeSelection" event holds an array of selected items, see [1]. Changing your code to var radioButton = event.getData()[0] should do the trick. Tristan [1] http://demo.qooxdoo.org/current/apiviewer/#qx.ui.core.selection.Abstra

Re: [qooxdoo-devel] Possibile half-way between source and build version

2011-05-09 Thread Benjamin Dreux
Hi, thanks for your answer In the source version, the qooxdoo class are not included, there is just referece to the class wich are contained in the sdk folder I would prefer to be able to copy a folder independetly to my server Cheers 2011/5/9 thron7 > Benjamin, > > so what is missing from a

[qooxdoo-devel] window caption bar icon size

2011-05-09 Thread Victor Powell
hello all, I'd really like to be able to change the size of the icon in the caption bar. anyone have any ideas how I might go about doing this? -- Victor Powell http://victorp.me (412) 225 - 0015 -- WhatsUp Gold - Downlo

Re: [qooxdoo-devel] Possibile half-way between source and build version

2011-05-09 Thread thron7
Benjamin, so what is missing from a pure source version for your situation? What is the 'half-way' of the build version you want to have? Are you actually using qooxdoo 1.1? T. > Hi list > Is there a way to create a source version that contains all the requiered > class (like all the qooxdoo c

[qooxdoo-devel] Problem with RadioButtonGroup and changeSelection

2011-05-09 Thread Daniel Lenggenhager
Hi all, I've got a problem with the changeSelection event. I've receive the data from the event (is a radio button) and call an object method (i.e. getModel)... the result is an error. http://demo.qooxdoo.org/current/playground/#%7B%22code%22%3A%20%22var%2520test%2520%253D%2520new%2520qx.data

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread panyasan
see the methods: http://cboulanger.users.sourceforge.net/qooxdoo-contrib/qcl/trunk/api/#qcl.application.Sandbox publish() publishToChannel() subscribe() subscribeToChannel -- View this message in context: http://qooxdoo.678.n2.nabble.com/qcl-access-demo-application-tp6295025p6345327.html Sent f

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread panyasan
Hello Ana Rita, the idea is that the modules have only access to the sandbox for security reasons, so that no module can do bad things and wreck the application. Thus, the sandbox must necessarily provide everything the modules need to function. That is of course tricky - the sandbox API must be c

[qooxdoo-devel] Possibile half-way between source and build version

2011-05-09 Thread Benjamin Dreux
Hi list Is there a way to create a source version that contains all the requiered class (like all the qooxdoo classes) and wich doesn not optimize the code (nor remove things after a if(qx.Environnment.get("qx.debug"))) ?? I'me in the case presented here http://qooxdoo.org/documentation/1.1/snippe

Re: [qooxdoo-devel] Loading data into a SelectBox

2011-05-09 Thread dabd
I am using a VirtualSelectBox instead of a SelectBox and I would like to bind the selection of the SelectBox to a text field but the following code is not working. It says Uncaught TypeError: Object qx.ui.form.VirtualSelectBox[386] has no method 'getChildren' Can this be done with VirtualSelectBox

Re: [qooxdoo-devel] Loading data into a SelectBox

2011-05-09 Thread arsousa
Hi, The problem is your data. Select box model don't "understand" the way your data are structured. you have to see examples of direct binding like this: http://demo.qooxdoo.org/current/demobrowser/#data~SelectBox.html When your data don't bind directly to widget model, you can custom the bindin

[qooxdoo-devel] Loading data into a SelectBox

2011-05-09 Thread dabd
I am trying to use a SelectBox like this example (I am interested in the grouped select box) http://demo.qooxdoo.org/current/demobrowser/#virtual~SelectBox.html My data looks like [ { name: { type: "literal" value: "John Doe" } user: { type: "uri" value: "John_Doe_URI" } } ]

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread arsousa
Hi, I've a doubt about this architecture core-sandbox-modules, in qcl trunk version. As long as I could understand the modules are independent from each other. But there are many cases that one module need information about the others. In my case, for example, I've been implemented OpenLayers (an

Re: [qooxdoo-devel] Add table to form

2011-05-09 Thread Tino Butz
Hi, I don't think you can add it to the form. The form is not an widget, it inherits from qx.core.Object. The form item you add has to implement the qx.ui.form.IForm Interface. Add it to the container widget (in your case the window). Tino Am 09.05.2011 um 16:32 schrieb dabd: I would like to

Re: [qooxdoo-devel] Access tree node model in configureItem delegate (with patch)

2011-05-09 Thread Martin Wittemann
Hey, > You're right of course! > > I didn't think of using bindItem, but it's indeed the way to do this. > Took me a little time to realize that I also needed to call > bindDefaultProperties (turned out to be a case of RTFM ;) ), but it > works like a charm now: > > { > bindItem : function(

[qooxdoo-devel] Add table to form

2011-05-09 Thread dabd
I would like to add a table cell editor like this http://demo.qooxdoo.org/current/demobrowser/#table~Table_Cell_Editor.html to a form I am building. I copied the createTable function from the demo to my class but when I try to add it to the form I get an error: form.add(this.createTable()); Uncau

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread Ana Rita Sousa
I'm glad to confirm that. I'll try to implement to it. Thanks for the help. Ana Rita 2011/5/9 panyasan > Ana Rita: > > yes, the javascript classes can be used independently from the php classes > as long as the rpc server response is the same. If you have questions about > the services, please

Re: [qooxdoo-devel] cross-domain AJAX ScriptTransport

2011-05-09 Thread Tino Butz
Hi, When you have no control of what the service returns, you should write your own service. Call your service from the same origin, let your service make the cross-domain request, transform the answer to your needs and return it as a response. Tino Am 07.05.2011 um 12:44 schrieb dabd: >> Fr

Re: [qooxdoo-devel] PHP code in Javascript

2011-05-09 Thread Gerrit Garbereder
hey guys, thats a lot for your help. You where right, that it was the server config. In the further versions there was an .htaccess file in the script folder which tells the server to handle .js as php code. I have not mentioned the file cause it was hidden, and I've to work on a project which I'v

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread panyasan
Ana Rita: yes, the javascript classes can be used independently from the php classes as long as the rpc server response is the same. If you have questions about the services, please let me know, that is easy to answer. I have just updated the public API: http://cboulanger.users.sourceforge.net/q

Re: [qooxdoo-devel] SelectBox - placing a list item coming into view in the middle instead of top or bottom

2011-05-09 Thread Alexander Steitz
Hi, On Friday May 6 2011 16:46:05 rlexa wrote: > On selection change in a SelectBox the appropriate 'scrolling into view' > code is eventually done in the qx.bom.element.Scroll. It would be nice to > have a possibility to let the item scroll to the middle of the opened list > and not just appeari

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread arsousa
Hi, I'm trying to implement qcl, but just the javascript classes. I'm using Django as server, not PHP, which has a RPC service implemented. I think qcl has useful extensions for any kind of web application development, since the server component it's compatible with RPC protocol. Christian, could

Re: [qooxdoo-devel] PHP code in Javascript

2011-05-09 Thread thron7
On 05/09/2011 10:44 AM, Gerrit Garbereder wrote: > thanks for your comments. > > I still wonder, why it works on version 1.0 properly but not on > version 1.0.1. I guess qooxdoo loads the script files in async-mode, > might that be? Look, if you're putting in a

Re: [qooxdoo-devel] question about qx.ui.list.List

2011-05-09 Thread Marc Puts
On 05/09/2011 10:44 AM, Christian Hagendorn wrote: >> Why virtual List is defined outside qx.ui.form ? >> Why a qx.ui.form.VirtualList does not exist? > These are historical reasons, no special think. > > Cheers, > Chris Actually, I asked almost the same question some time ago on the mailing list

Re: [qooxdoo-devel] qcl access demo application

2011-05-09 Thread arsousa
Hi Christian, I don't have github account, but your last example really helps me to understand the logic. Thanks a lot. Ana Rita -- View this message in context: http://qooxdoo.678.n2.nabble.com/qcl-access-demo-application-tp6295025p6343608.html Sent from the qooxdoo mailing list archive at Na

Re: [qooxdoo-devel] Cannot get data into model from data store using jsonp

2011-05-09 Thread thron7
Good work, Marc. T. On 05/08/2011 04:56 PM, Marc Puts wrote: > On 05/08/2011 02:48 PM, dabd wrote: >> url = "http://localhost:8080/sparql/resources/sparql/getusers";; >> store = new qx.data.store.Jsonp(url, null, "callback"); >> model = store.getModel(); > The store fe

Re: [qooxdoo-devel] cross-domain AJAX ScriptTransport

2011-05-09 Thread thron7
A generic web service has to at least support JSONP, to be usable with ScriptTransport. Those that do (like Yahoo's YQL) usually provide a dedicated parameter in their API, where you can pass the string that is used as the callback. The server will then wrap its results in that call. You might

Re: [qooxdoo-devel] Event fired from toolbar button, Listener in table

2011-05-09 Thread Marc Puts
Hi Ulrich, My first thought, is that this is the same issue as seen a few days ago on this mailing list, when someone needed to catch a button event fired from a selectbox: The solution there might help you too :) http://qooxdoo.678.n2.nabble.com/cannot-execute-a-button-inside-a-selectbox-td63

Re: [qooxdoo-devel] Event fired from toolbar button, Listener in table

2011-05-09 Thread thron7
Uli, can pull up a small Playground [1] example that reproduces the behaviour?! Thanks, T. [1] http://demo.qooxdoo.org/current/playground On 05/06/2011 05:16 PM, Ulrich Herbst wrote: > Hi, > > I have a small application with a toolbar (with search button) and a > table with data. > > I want to

Re: [qooxdoo-devel] Theme: Migration form 1.3 to 1.4 is a desaster

2011-05-09 Thread thron7
Mustafa, On 05/06/2011 09:31 AM, Mustafa Sak wrote: > You changed so much at themeing, that even aristo contrib nor my > homebrew themes (1.3) are working with. Was this really necessary? I > mean we are still in the 1.x branch not 2.x, isn’t it? You're beeing too unspecific in your complaints. A

Re: [qooxdoo-devel] Access tree node model in configureItem delegate (with patch)

2011-05-09 Thread Marc Puts
Hi Martin, You're right of course! I didn't think of using bindItem, but it's indeed the way to do this. Took me a little time to realize that I also needed to call bindDefaultProperties (turned out to be a case of RTFM ;) ), but it works like a charm now: { bindItem : function(controller,

Re: [qooxdoo-devel] question about qx.ui.list.List

2011-05-09 Thread Christian Hagendorn
Hi, > I can use VirtualComboBox and VirtualSelectBox with a qx.ui.form.Form. I have done a look, and it seems to me that only VirtualComboBox should work with a Form. VirtualSelectBox has a other API for the selection. > I can't use virtual List with a qx.ui.form.Form. Why? The virtual List has a

Re: [qooxdoo-devel] PHP code in Javascript

2011-05-09 Thread Gerrit Garbereder
thanks for your comments. I still wonder, why it works on version 1.0 properly but not on version 1.0.1. I guess qooxdoo loads the script files in async-mode, might that be? Best regards, Gerrit -- Gerrit Garbereder B.Sc. Mathematisch-technischer Softwareentwickler RWTH Aachen University, Cente

Re: [qooxdoo-devel] PHP code in Javascript

2011-05-09 Thread thron7
On 05/08/2011 11:04 AM, Gerrit Garbereder wrote: > Hey folks, > > reffering to my last post I want to reopen it. I got the Version 0.8.3 > and 1.0 working on my server properly. But now I would like to migrate > up to 1.4. My next step was to do the migration to 1.0.1 and I > detected the same er

Re: [qooxdoo-devel] Access tree node model in configureItem delegate (with patch)

2011-05-09 Thread Martin Wittemann
Hey, > I think this one is for Martin, as author of the Tree controller. Exactly. :) > I'm using a Tree controller to populate a Tree. I need to attach a > context menu to some tree nodes, based on a property in the model of > that tree node. > > I'm trying to do this by using a configureItem