-
26 Oct 2011 10:56 PM #21
I've updated my back-end to include the property "success" and Designer is still unable to load the data...
Here is what my back-end outputs for my langStore:
Code:{"success":true,"total":3,"langs":[{"id":"1","name":"\u4e2d\u6587","roman":"Chinese","rtl":"0","ISO639":"ZH"},{"id":"2","name":"English","roman":"English","rtl":"0","ISO639":"EN"},{"id":"3","name":"Espa\u00f1ol","roman":"Spanish","rtl":"0","ISO639":"ES"}]}
Am I missing something? either I need to update my back-end or my ExtJs code (written by Designer) is wrong...Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
-
27 Oct 2011 6:09 AM #22
@lorezyra
The problem I had (which manifested with the same symptoms) was that the proxy information I used to register Ext Designer was not the same as what loaded data. So, the proxy information stored in the *.localstorage file was blocking the data from loading in Ext Designer. Deleting the file located at (for Windows 7):
C:\Users\<username>\AppData\Local\Sencha, Inc\Sencha Designer 1.2\
Removed the problem and everything was working as expected. I couldn't tell from your posts if you actually did the delete. If you did and it still isn't working then I'm not sure what to tell you. Reinstalling didn't help as the AppData retained the proxy information even after I removed Ext Designer. So, when I installed it back on the bad proxy data was pulled back in. It wasn't until I deleted that file that it worked.
-
27 Oct 2011 2:12 PM #23
Proxy config is the problem
Proxy config is the problem
@ freshyseth:
After saving my project and trying to see if it still failed from my home network, I found that it worked perfectly as expected from home!
This tells me that Designer is using the same proxy details (used from registration) for accessing the web as it does for loading store data. I _REALLY WISHED_ they would provide a configuration tab inside the preferences window to change proxy information!!!
At the office, the proxy is killing Designer. BAD DESIGN!!!! If I presented this tool to an enterprise (aka global) company that uses proxy-based networks, they would not buy it.
And yes, even after I found the .localstorage file and deleted it, the stores continued to fail loading...Last edited by lorezyra; 27 Oct 2011 at 2:43 PM. Reason: clarity
Perfection as a goal is a nice idea that can point one in a specific direction. However, since "perfection" is an ever changing (evolving?) and moving target, one must admit that perfection can never be obtained...
When in doubt, check the d4mn source code!
-
15 Nov 2011 9:57 PM #24
Unable to open json file on localhost
Unable to open json file on localhost
I too have same problem,
I'm unable to access data store in the grid of mine Ext js 4 code.
I was unable to load/open .json file on localhost in Ext js designer,
then i created a virtual directory on IIS server and tried to open through localhost, then too it is not working,
although if I open it through visual studio and try to run the same application then it is working.
Please can anyone guide me to solve this issue so that I can open the .json file on localhost.
i.e.
http://localhost/MyProject/data/file.json
OR
thanks in advance.
-
15 Nov 2011 10:00 PM #25
duplicate
Last edited by atiwari; 15 Nov 2011 at 10:01 PM. Reason: duplicate
-
15 Nov 2011 11:31 PM #26
SOLVED the localhost issue for .json file
SOLVED the localhost issue for .json file
I got solution for this issue as :-
configured the IIS server with .json mime type.
1.gone to IIS Manager
2. select "Default web sites"
3. On right-down there is Mime type options is there click it
4. Add
5. in the popp-up :-
file name as :- .json
MIME type :- application/json
and as I open on localhost it is working fine
and even for Ext js designer also (just click on load store)
-
25 Jul 2012 1:39 PM #27
Additional Solution
Additional Solution
Another issue I've found is that the reader can have a hard time parsing quotation marks " ". If your .json file uses double quotation marks to define its fields (ex. "places": [{"name": "1"}) change these to single quotation marks (eg. 'places': [{'name': '1'}).
Similar Threads
-
How do Ext.form.Combo could accepts data begin/end with "<" and/or ">" char ?
By soulgen in forum Ext 3.x: Help & DiscussionReplies: 3Last Post: 14 Dec 2010, 10:22 PM -
[DUPE-447] Ext.data.TreeStore firing "read" not "load"
By benwhite in forum Sencha Touch 1.x: BugsReplies: 1Last Post: 3 Nov 2010, 1:32 PM -
Configuration of JsonReader - root: as the "real root" of data?
By antonye in forum Ext 3.x: Help & DiscussionReplies: 2Last Post: 21 Jun 2010, 2:47 AM -
"datafield" and " radio" with load data in a Form
By launort in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 10 Aug 2009, 7:03 AM -
datastore load error"root is undefined"
By netbox in forum Ext 2.x: Help & DiscussionReplies: 5Last Post: 17 Mar 2009, 1:39 AM



Reply With Quote