Re: [qooxdoo-devel] Binding a List to a model

2011-05-08 Thread Martin Wittemann
Hey, > Following a similar example to the Twitter application I have a property > "fetchedData" in my class that stores a list obtained from a jsonp store. I > bind the store model to this property so the contents of the store are > available in that property. > > I also have two drag and drop l

[qooxdoo-devel] Binding a List to a model

2011-05-08 Thread dabd
Following a similar example to the Twitter application I have a property "fetchedData" in my class that stores a list obtained from a jsonp store. I bind the store model to this property so the contents of the store are available in that property. I also have two drag and drop lists and I created

Re: [qooxdoo-devel] qcl access demo application

2011-05-08 Thread panyasan
There is a discussion on this list about the core-sandbox issue some months back, and the gist of the discussion was that since qooxdoo applications are usually monolithic and do not integrate untrusted code, this architecture was not needed. However, I think that there might be use cases where cre

Re: [qooxdoo-devel] PHP code in Javascript

2011-05-08 Thread Florin Jurcovici
Hi. It all depends on your configuration. Try changing the extension of the included php file which generates js to .php, see what Apache thinks of this. I can't know for sure, but my supposition is that Apache is configured in such a way that it sees no reason to pass the .js file through the ph

Re: [qooxdoo-devel] qcl access demo application

2011-05-08 Thread panyasan
Hello, of course I'll be glad to share examples. I have used the qcl trunk in an application that I cannot publically share the code of at this moment. But if you have/get a github account, please contact me privately (c dot boulanger at qxtransformer dot org) and I will give you access to the rep

Re: [qooxdoo-devel] qcl access demo application

2011-05-08 Thread panyasan
Hello, of course I'll be glad to share examples. I have used the qcl trunk in an application that I cannot publically share the code of at this moment. But if you have/get a github account, please contact me privately (c dot boulanger at qxtransformer dot org) and I will give you access to the rep

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

2011-05-08 Thread Marc Puts
Hi, I think this one is for Martin, as author of the Tree controller. 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 delegate: { configur

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

2011-05-08 Thread dabd
I figured this one out in case anyone has the same problem: the store fetches the data asynchronously so I had to listen to the "loaded" event to get the model. -- View this message in context: http://qooxdoo.678.n2.nabble.com/Cannot-get-data-into-model-from-data-store-using-jsonp-tp6341823p63420

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

2011-05-08 Thread Marc Puts
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 fetches the data asynchronously. You need to wait for the "loaded" eve

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

2011-05-08 Thread dabd
dabd wrote: > > I am trying to fetch data to a store using jsonp (as in the twitter > example). > This is the code I am using: > > url = "http://localhost:8080/sparql/resources/sparql/getusers";; > store = new qx.data.store.Jsonp(url, null, "callback"); > model = store.getModel();

Re: [qooxdoo-devel] problem with AJAX request

2011-05-08 Thread dabd
Derrell Lipman wrote: > > On Sat, May 7, 2011 at 22:44, dabd wrote: > >> I implemented a wrapper web service that returns a string with a call to >> qx.io.remote.transport.Script._requestFinished. >> >> And made a simple test with the following code: >> >> url = "http:/

Re: [qooxdoo-devel] problem with AJAX request

2011-05-08 Thread Derrell Lipman
On Sat, May 7, 2011 at 22:44, dabd wrote: > I implemented a wrapper web service that returns a string with a call to > qx.io.remote.transport.Script._requestFinished. > > And made a simple test with the following code: > > url = "http://localhost:8080/sparql/resources/sparql/update";; > req = ne

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

2011-05-08 Thread dabd
I am trying to fetch data to a store using jsonp (as in the twitter example). This is the code I am using: url = "http://localhost:8080/sparql/resources/sparql/getusers";; store = new qx.data.store.Jsonp(url, null, "callback"); model = store.getModel(); However whe

Re: [qooxdoo-devel] PHP code in Javascript

2011-05-08 Thread Gerrit Garbereder
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 error as before changeing the server config. So the situation is