Reputation: 18197
I've been trying to get this page to run on my machine under Google App Engine. One file at a time, I think I have found all the missing files, and .gifs, and layouts, etc..., and now have them on my machine and being served properly. No more critical errors as observed from FireBug.
Here are the differences between my test and the page mentioned above - and I don't have a clue as to why:
I really want to use Dojo - but I'm not sure I'm learning - but rather just poking with trial and error. When things don't show up where they are supposed to be - I'm not sure which clues to follow to figure it out. CSScss files, the Javascript itself? Where do I start?
Things that are working at first:
Another StackOverflow question - can I post a follow-up when someone answers? I click "comment" and "answer your question" and nothing happens? Is that because I'm such a new user to StackOverflow?
Thanks to all. Neal Walters
Neal Update - 6:44pm Central Time
I now have my web page public accessible - if anyone wants to try it with FireBug: http://3wcloud-com-provisioning-qa.appspot.com/testDijit
I cannot seem to reply to Seth below - so I will reply here. I did have some CSS that were missing, but fixed them, and now it seems like they are all there - but exact same results - as you can see in URL above.
Upvotes: 0
Views: 341
Reputation: 18197
Wow - I am amazed! The problem was because I was loading the soria.css from AOL/CDN.
I made this switch:
Commented out this:
<link id="themeStyles" rel="stylesheet" href="http://o.aolcdn.com/dojo/1.1/dijit/themes/soria/soria.css">
Replaced with this:
<link id="themeStyles" rel="stylesheet" href="/stylesheets/dojoThemes/soria/soria.css">
and it worked! What a waste of my afternoon!
The first issue was that sometimes in Firebug - it was show no data for the soria.css, and the left side of the page would lose its blue boxes. So sometimes the css was loading, sometimes it wasn't - about 80/20. It was driving me crazy because I could press F5 to refresh and it might work or might not. So that's one reason I switched to a local copy.
Then this link also gave me encouragement to switch: http://www.dojotoolkit.org/forum/dijit-dijit-0-9/dijit-support/unable-run-my-editor-aol-or-google-cdn. Supposedly it's an old bug that was fixed, but maybe it sneaked back in?
Neal
Upvotes: 0
Reputation: 37267
It sounds as though there's a CSS file missing. Does the Firebug net tab show any 404 errors for CSS?
Regarding learning dojo, it's a big library. Early on, it's kind of rough going. Dojocampus is a good resource and the forums were before spammers killed them off. People seem to have migrated to here and/or the mailing list. IRC is also a good place to get quick answers. It's #dojo
on freenode.
About the stackoverflow questions, I saw some of your comments on other questions. Was it somewhere specific that was missing? I don't think you can answer your own question until 24 hours has passed. What you usually want to do is 'accept' one of the answers given by other people (like me!). If that's not the right answer, you should post it on meta.stackoverflow.com.
Upvotes: 1