Re: [qooxdoo-devel] qx.data.store.Json "timeout", while qx.io.remote.Request succeeds

2009-07-27 Thread Martin Wittemann
Good morning Gleb, thanks for the data. I gave it a try in a 0.8.2 demo application and finally managed to reproduce your error and discovered, that it is a already fixed bug in the class creation. Well, two bugs are playing a role in this case. The first is, that the class creation in the

[qooxdoo-devel] Tree Selection Manager for Checkboxes

2009-07-27 Thread Guilherme Aiolfi
Hi, I'm rewriting my app to use the brand new data binding and the new selection handlers. But I can't figure out how to implement a Tree where checkboxes will be responsible for selecting/deselecting items. I managed to create the checkboxes in the tree's items. Overriding the createItem function

Re: [qooxdoo-devel] qx.data.store.Json "timeout", while qx.io.remote.Request succeeds

2009-07-27 Thread GlebM
Hi, Martin! Here is my data: [{"song":{"artist":"b","updated_at":"2009-07-24T17:36:38Z","title":"a","id":36,"display_name":"a - b","created_at":"2009-07-24T17:36:38Z"}}] Here is the hash on line 172, right before the (new clazz()) that fails is called: "artist created_at display_name id title

Re: [qooxdoo-devel] JavaRpc : feedback

2009-07-27 Thread Vincent Vandenschrick
I'm sorry Jean-Baptiste, I don't get your point. To my understanding, the current JavaRpc implementation allows to plug any custom policy using the RemoteCallUtils customization. You could even work with the transient keyword if you like (using reflection), minus the fields visibility problem (

[qooxdoo-devel] Error Message during build process

2009-07-27 Thread Daniel Hirtzbruch
Hi, I'm new to QooxDoo - so please try to be pacient with me ;-) I made my first steps with qd today, and I simply don't know what I've done - maybe you got a solution for me. I made my qd application like described in the "Hello World" Tutorial, made some changes (I built a login form to authe

Re: [qooxdoo-devel] JavaRpc : feedback

2009-07-27 Thread Jean-Baptiste BRIAUD -- Novlog
I think there is no need to invent something new : transient old Java keyword is fully appropriate. If a property is transient, then, no serialization. The only problem is that transient keyword apply to field while JavaRPC is based on JavaBean's accessors and not fields. It is the same foir

Re: [qooxdoo-devel] JavaRpc : feedback

2009-07-27 Thread Vincent Vandenschrick
Or simply annotate the getters of the properties you want to remain transient with a custom @QxTransient. This annotation must have a runtime retention policy so that you can test it using reflection, still in your custom RemoteCallUtils.filter(Object , Map) method. > Hi Jean-Baptiste, > Another

Re: [qooxdoo-devel] JavaRpc : feedback

2009-07-27 Thread Vincent Vandenschrick
Hi Jean-Baptiste, Another option might have been to provide your POJO classes with a static method listing all the serializablePropertyNames, e.g. : public static Set getSerializablePropertyNames(); Optimally, the method would return a static Set you construct in the static block of the clas

[qooxdoo-devel] JavaRpc : feedback

2009-07-27 Thread Jean-Baptiste BRIAUD -- Novlog
Hi, As I said later on, here is a quick feedback of my use of JavaRPC. I used the HEAD of SVN contrib. I have some specific needs : reuse some POJO that I can modify. In other words, the same POJO class are used not only by JavaRPC but also by some other things. Basically, the only problem I w

Re: [qooxdoo-devel] a table/grid with remote data?

2009-07-27 Thread Jason P Sage
I've also had luck making a ajax call using iwf ajax lib (turns all the xml goo into nice javascript stuff like myxml.mylist[4].fields[4].name so its easy to write code against the dynamic returned values) - to go get the grid data and then wrote code that literally "drew the data in" on the clien

Re: [qooxdoo-devel] Progressive Tree on selection and/or deployement + the new binding features

2009-07-27 Thread benco
Oops... some bad copy - paste... But the problem is still there. var tree = new qx.ui.tree.Tree(); tree.controller = new qx.data.controller.Tree(null, tree, "kids", "name"); var store = new qx.data.store.Json(); store.addListener("loaded", function(ev) { var sel = this.controller.getSel

Re: [qooxdoo-devel] Progressive Tree on selection and/or deployement + the new binding features

2009-07-27 Thread benco
Thanks for your help, Martin! I tried to follow your idea but it didn't work either. So, I investigated further and I just noticed a problem with my tree controller. I don't know if it comes from my code (or if it's a bug from the TreeController class). When I update my tree model by populating

Re: [qooxdoo-devel] a table/grid with remote data?

2009-07-27 Thread Alexander Back
Hi Skar, On Monday 27 July 2009 skar wrote: > I need a way to show data from the server in a grid like > jqgrid(http://www.trirand.com/jqgrid35/jqgrid.html). I would need > search, sort on certain columns alone, while other columns wouldn't need > these search/sort features. I found this > http://

Re: [qooxdoo-devel] a table/grid with remote data?

2009-07-27 Thread Derrell Lipman
On Mon, Jul 27, 2009 at 09:44, skar wrote: > Hi, > > I need a way to show data from the server in a grid like > jqgrid(http://www.trirand.com/jqgrid35/jqgrid.html). I would need > search, sort on certain columns alone, while other columns wouldn't need > these search/sort features. I found this >

[qooxdoo-devel] a table/grid with remote data?

2009-07-27 Thread skar
Hi, I need a way to show data from the server in a grid like jqgrid(http://www.trirand.com/jqgrid35/jqgrid.html). I would need search, sort on certain columns alone, while other columns wouldn't need these search/sort features. I found this http://qooxdoo.org/documentation/0.8/remote_table_model?s

Re: [qooxdoo-devel] qx.data.Array problem with MEventBubbling and removeAll() [bug, probably]

2009-07-27 Thread Martin Wittemann
thanks. :) Am 27.07.2009 um 11:53 schrieb Florian Giesen: Thank you, Martin! I have tested your fix and have no error any more. You and the others from the QooXdoo team are doing a great job! Regards, Florian 2009/7/27 Martin Wittemann Hello Florian, thanks for the code snipped. It took m

Re: [qooxdoo-devel] 3 column layout

2009-07-27 Thread Daniel Wagner
Hi, GlebM schrieb: > Yes, unfortunately: > - it looks like a split pane inside of a split pane (double borders around a You can prevent the double border by setting the inner split pane's decorator property to null. > and *) > - the resize policy of an inner split pane (0.3, 0.7) is based on th

Re: [qooxdoo-devel] qx.data.Array problem with MEventBubbling and removeAll() [bug, probably]

2009-07-27 Thread Florian Giesen
Thank you, Martin! I have tested your fix and have no error any more. You and the others from the QooXdoo team are doing a great job! Regards, Florian 2009/7/27 Martin Wittemann > Hello Florian, > thanks for the code snipped. It took me a while to reproduce the bug > because it heavily depends o

Re: [qooxdoo-devel] qx.data.store.Json "timeout", while qx.io.remote.Request succeeds

2009-07-27 Thread Martin Wittemann
Hi, hm, looks like there is going something wrong with the class creation in the marshaler. So I guess your data is causing a bug in the json marshaler. Thats why the request is the same and the other stores are working. Could you perhaps supply some sample data which causes the problem?

Re: [qooxdoo-devel] qx.data.Array problem with MEventBubbling and removeAll() [bug, probably]

2009-07-27 Thread Martin Wittemann
Hello Florian, thanks for the code snipped. It took me a while to reproduce the bug because it heavily depends on the content of the arrays. But the following code snippet did the job: var data = {d:[1,2,3,4,5]} var m = qx.data.marshal.Json.createModel(data, true); m.getD().remove(m.getD().

Re: [qooxdoo-devel] Progressive Tree on selection and/or deployement + the new binding features

2009-07-27 Thread Martin Wittemann
Good morning BenoƮt, no i get what you are planing to do. Thanks for the detailed description. I guess the best way to load the tree structure on demand is to always keep the binding to the initial model and just add the models loaded after the initial model to the initial model: initial mo

Re: [qooxdoo-devel] dynamically load a html div in qooxdoo

2009-07-27 Thread skar
Hi, > I see. Is there a way to tell OFC2 or the ruby wrapper to return a full > HTML document instead of just a div node? Then you could simply load it > in a qx.ui.embed.Iframe. Thanks for the pointers. Yes, that's possible and that's the way I'm going as of now. Embedding a full HTML in an IFr

Re: [qooxdoo-devel] dynamically load a html div in qooxdoo

2009-07-27 Thread Daniel Wagner
Hi again, skar schrieb: > Hi Daniel, >> qx.ui.embed.Html is the weapon of choice if you want to insert plain >> HTML into your application. But it won't solve your problem as any >> Javascript within the HTML won't be evaluated. >> Generally speaking, it's preferable to keep all the Javascript c

Re: [qooxdoo-devel] Problem with qx.bom.element.Scroll

2009-07-27 Thread Alexander Back
Hi John, On Saturday 25 July 2009 John Spackman wrote: > I want to be able to scroll the page so that a given control is visible; we > have some very long forms and modal message dialogs are sometimes off > screen. I've tried to use qx.bom.element.Scroll.intoView but it fails with > "body is null