-
19 Apr 2012 7:57 AM #11
-
19 Apr 2012 9:02 AM #12
Sencha never told me, no. But Bruni did. As mentioned, his class handles it. Or used to.(designer adds this by default and you don't know it).
I cut and pasted your example but it generates a syntax error in the browser. (see attached) What more do I need to know please?
I am still wondering how we will be able to specify additional remoting providers.
Code:return Response::make('{"descriptor" : "Ext.app.REMOTING_API","url" : "remote/router.php", "type" : "remoting", "actions" : { "AlbumList" : [ { "name" : "getAll", "len" :0}, { "name":"add", "len":1 } ] }} ',200, array('Content-Type','text/javascript'));
-
19 Apr 2012 11:30 AM #13
I setup the Direct example on XP with WAMP. I could see the Load data option once i setup the store/model/fields/direct api url, url prefix and directFn. The data was not getting loaded in the store. I had to make one change - In php settings, i had to turn "display errors" off since the php that ships with Ext examples is not very clean. Once i did that i was able to load and see the data in the grid.
If you guys have more inputs on this please let me know.
ThanksBharat Nagwani
Sencha Designer Development Team
-
19 Apr 2012 11:49 AM #14
Would you post a zip, or be more specific about where you are getting "the Direct example"?
I am out of bullets, this is a show-stopper for me.
-
19 Apr 2012 11:58 AM #15
I copy the php directory from Ext4.0.7/examples/direct/php. Rest i hand create within Architect.
Bharat Nagwani
Sencha Designer Development Team
-
19 Apr 2012 1:20 PM #16
Thanks. 24hrs was all I had. Will try again later.
After so long ramping up, I am finally starting to have a little fun actually doing something with extjs.
It is too disheartening to go back to staring at the screen!



Reply With Quote