When deploying the sample in a webserver (not a Tomcat container) the dashboard save option does not work. i.e. Apache HTTP @ localhost and Tomcat @ 127.0.0.1:8080
The error I get is:
XMLHttpRequest cannot load http://127.0.0.1:8080/dashboardsaver?username=default. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1' is therefore not allowed access.
We should see if we can make the save option work from any domain since Visualize let us to host the web application separate from the App container.