Hybrid View
-
12 Aug 2012 12:14 AM #1
App not showing in Browser
App not showing in Browser
Hi All
First post here and VERY new to Sencha and Architect.
I've loaded an XML file into a List view and it previews the data correctly but when I try to preview the app in Chrome, I just get a small light blue rectangle in the browser. Nothing shows.
I'm guessing this some kind of deployment issue?
Anyway, would appreciate some pointers!
Thanks
-
12 Aug 2012 10:03 PM #2
Are you loading the xml from the same domain you are deploying the app to?
If not, you will want to ensure that you are...
See http://en.wikipedia.org/wiki/Same_origin_policy
If you open the developer tools, do you receive any errors?Aaron Conran
@aconran
Sencha Architect Development Team
-
12 Aug 2012 10:28 PM #3
Yes its in the same domain, just a quick test. The data shows up in Architect as expected.
I wasn't aware I needed to run the SDK tools when working in Archetect... have I missed something fundamental?!
-
12 Aug 2012 11:16 PM #4
I guess you meant Chrome Developer Tools? Oops
Can't see any obvious errors but this is my first use of these tools - diving into the shallow end!
-
13 Aug 2012 9:40 AM #5
-
13 Aug 2012 5:03 PM #6
I'm using an Ajax Proxy and everything works within Architect.
I've tried a new file with nothing but a button on it and still can't get anything in the brower. The standard(?) app.html is there when viewing the source code.
Is there a way for me to test my setup?
-
13 Aug 2012 7:42 PM #7
I suspect the XHR request is failing, open up the developer tools and see what is happening.
Aaron Conran
@aconran
Sencha Architect Development Team


Reply With Quote