AnsweredAssumed Answered

Migrating to 3.2

Question asked by samirgambhir on Nov 28, 2012
Latest reply on Dec 11, 2012 by samirgambhir
I am trying to migrate my application from v=2.8 to v=3.2, and experiencing the following application behavior (read strange):

1. I keep getting the error "XMLHttpRequest cannot load Origin http://localhost:8080 is not allowed by Access-Control-Allow-Origin.". I followed a few forum threads and understood that this can be ignored.

2. My init() function is supposed to populate my combo boxes with data from the shapefile. My combobox shows up with the default value that I set and has no other value. Any attempt to pull the list down gives an error "Uncaught TypeError: Object [object Object] has no method 'query' ".

3. My div elements do not follow my css completely. Some elements have a background color, text goes out of the button confines, and some elements show up fine.

4. The query function is performing well and giving me the desired result which means that my data folders are properly registered.

I am not sure what is going on and I am also not sure what information to share on this forum to get a resolution to this problem. I am using ArcGIS Server 10.1 with JavaScript API.