adrianrb

JSAPI local install and xdomain errors

Discussion created by adrianrb on Feb 3, 2011
Latest reply on Feb 7, 2011 by nilsrinformi-dk-esridist
Well, from this post

http://forums.arcgis.com/threads/22513-JSAPI-error-in-JBoss-(dojo)

to now I´ve made changes and tests and discovered that the JSAPI truncation occurs in the file

arcgis_js_api/library/2.1/arcgis/index.jsp, in the line <jsp:include page="js/esri/jsapi.js" />.

So, I decided to get that files "by hand", using XHR (ugly but works).
No truncation anymore and seems that these problems are gone.

Now, the app goes a little more but doesn´t show the map and the TOC.

And few seconds later, the xdomain error pops again, but for another files (see image attached).

How to solve this?
already two days since I'm stuck with this problem...

Pls help!

Adrian Barbosa
http://www.copel.com

Attachments

Outcomes