12 Aug 2012 12:14 AM #1
App not showing in Browser
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!
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...
If you open the developer tools, do you receive any errors?Aaron Conran
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
13 Aug 2012 11:58 PM #8
Nothing showing for XHR.
Is this HTML correct for referencing the style sheets and Java scripts etc? I thought they might have to be deployed locally on a local server...
14 Aug 2012 10:08 PM #9
I've also discovered that once I have deployed for the first time, all subsequent saves and previews only view the original. e.g. Putting a button on, saving, deploying and then removing, saving and deploying, still shows the button...
14 Aug 2012 10:11 PM #10