Of course, only local filesystem, referenced by file:// will fail. Solution (copied from http://pyjs.org/):
- Launch Google Chrome with the additional parameter --allow-file-access-from-files (or --disable-web-security, if you want to be rude), e.g. google-chrome --allow-file-access-from-files - Or you start up a web server on your local system, and use http://127.0.0.1 Cheers 2010/12/16 Jeremy Morel <[email protected]> > Bruce: Unfortunately, the chapter on javascript in the Pylons Book only > covers basic uses of javascript. It goes into ajax, but never enters the > topic of building and designing a large AJAX app. It describes the basic > technologies, not how to use them in a larger project. It teaches good > masonry, but does not explain how to go from building a wall to building the > Burj Dubai. > > Ginés: This looks like exactly what I need! Being able to not write a > single line of javascript is a dream come true for me. This could really be > the solution! However I that read in the FAQ: > >> All pyjamas apps running on Google Chrome fail! Why?? > > The focal filesystem, referenced by file://, is treated as a hostile >> Cross-Site Scripting (XSS) environment. AJAX now entirely fails on Google >> Chrome, with urls starting with "file://". > > Does this means that users won't be able to access my app if they use > Chrome or does it only concern _me_ accessing applications running on _my_ > local filesystem ? > > Mengu: Although Qooxdoo does look really (really) nice, I'd like to stick > to a more python-esque approach for I'm not as at ease with javascript as I > am with Python. > > Thanks to all 3 of you for your very quick answers ! > > -- > > Jeremy > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<pylons-discuss%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/pylons-discuss?hl=en. > -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
