-
18 Mar 2011 8:41 AM #11
Man, your app is working fine...
Just download xampp or wamp, install and copy it to the localhost server folder
xampp--> c:\xamp\htdocs
wamp---> c:\wamp\www
Copy the files in your Ext designer folder to one of those, and just run localhost/xds_index.html in your browser... the images are not loading because the link is broken, you need to copy them in your "server" and rename the url's... If you want to see the project just like in the tutorial (in the Ext designer preview), I have no idea how to do it... I have always used wamp for preview
-
18 Mar 2011 9:19 AM #12
-
21 Mar 2012 1:37 PM #13
This file doesn't show anything about "quality" which the tutorial (http://www.sencha.com/learn/build-a-...-and-ext-js-4/) mentions. Is there an update version of cars.json??
-
14 Apr 2012 10:17 AM #14
Location is in the root
Location is in the root
put the "cars" folder in the same location as the carListings.xds. Then put the cars.json into the cars folder.
The preferred json format includes quotes, etc. Try this one....
{
"data": [{
"manufacturer": "Porsche",
"model": "911",
"price": 135000,
"wiki": "http://en.wikipedia.org/wiki/Porsche_997",
"img": "2004_Porsche_911_Carrera_type_997.jpg"
},{
"manufacturer": "Nissan",
"model": "GT-R",
"price": 80000,
"wiki":"http://en.wikipedia.org/wiki/Nissan_Gt-r",
"img": "250px-Nissan_GT-R.jpg"
},{
"manufacturer": "BMW",
"model": "M3",
"price": 60500,
"wiki":"http://en.wikipedia.org/wiki/Bmw_m3",
"img": "250px-BMW_M3_E92.jpg"
},{
"manufacturer": "Audi",
"model": "S5",
"price": 53000,
"wiki":"http://en.wikipedia.org/wiki/Audi_S5#Audi_S5",
"img": "250px-Audi_S5.jpg"
},{
"manufacturer": "Audi",
"model": "TT",
"price": 40000,
"wiki":"http://en.wikipedia.org/wiki/Audi_TT",
"img": "250px-2007_Audi_TT_Coupe.jpg"
}]
}
Similar Threads
-
TreePanel FormPanel JSON Multiple Usage & mixture of Existing Items + json retrieval
By karthik085 in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 27 Jul 2010, 10:37 PM -
[UNKNOWN][3.0.0] Ext.util.JSON.decode(string json, function reviver)
By joeutz in forum Ext 3.x: BugsReplies: 6Last Post: 17 Aug 2009, 12:49 PM -
Ext.util.JSON.decode(json) gives unterminated string literal
By sapatel in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 26 Mar 2009, 7:20 AM -
[SOLVED]Json reader with grid won't display nested json
By josh803316 in forum Ext 2.x: Help & DiscussionReplies: 4Last Post: 4 Mar 2009, 6:29 PM


Reply With Quote