After updating to beta11, I get this in my javascript console:
Vaadin bootstrap loaded vaadinBootstrap.js:14
init application attendiumbackoffice-587652726
Object
vaadinBootstrap.js:14
loadTheme ./VAADIN/themes/attendium2 vaadinBootstrap.js:14
load widgetset ./VAADIN/widgetsets/ com.attendium.web.vaadin.widgetset.AttendiumWidgetset vaadinBootstrap.js:14
Fetching root config vaadinBootstrap.js:14
sending request to http://localhost:8080/attendium/back-office?debug&browserDetails=1&theme=attendium2&sh=1050&sw=1680&cw=1680&ch=952&curdate=1356079826743&tzo=-60&dstd=60&rtzo=-60&dston=false&vw=1680&vh=0&loc=http%3A%2F%2Flocalhost%3A8080%2Fattendium%2Fback-office%3Fdebug&wn=attendiumbackoffice-587652726-0.0034587124828249216&1356079826747 vaadinBootstrap.js:14
Got root config response <!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=9;chrome=1" />
<style type="text/css">html, body {height:100%;margin:0;}</style>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="./VAADIN/themes/attendium2/favicon.ico" />
<link rel="icon" type="image/vnd.microsoft.icon" href="./VAADIN/themes/attendium2/favicon.ico" />
</head>
<body scroll="auto" class=" v-generated-body">
<div id="attendiumbackoffice-587652726" class=" v-app">
<div class=" v-app-loading"></div>
<noscript>
You have to enable javascript in your browser to use an application built with Vaadin.
</noscript>
</div>
<iframe tabindex="-1" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0;overflow:hidden" src="javascript:false"></iframe>
<script type="text/javascript" src="./VAADIN/vaadinBootstrap.js"></script>
<script type="text/javascript">//<![CDATA[
if (!window.vaadin) alert("Failed to load the bootstrap javascript: ./VAADIN/vaadinBootstrap.js");
vaadin.initApplication("attendiumbackoffice-587652726",{
"authErrMsg": {
"caption": "Authentication problem",
"message": "Take note of any unsaved data, and <u>click here<\/u> to continue."
},
"comErrMsg": {
"caption": "Communication problem",
"message": "Take note of any unsaved data, and <u>click here<\/u> to continue."
},
"debug": true,
"heartbeatInterval": 300,
"sessExpMsg": {
"caption": "Session Expired",
"message": "Take note of any unsaved data, and <u>click here<\/u> to continue."
},
"standalone": true,
"theme": "attendium2",
"vaadinDir": "./VAADIN/",
"versionInfo": {"vaadinVersion": "7.0.0.beta11"},
"widgetset": "com.attendium.web.vaadin.widgetset.AttendiumWidgetset"
});
//]]></script>
</body>
</html> vaadinBootstrap.js:14
Uncaught SyntaxError: Unexpected token <
Looking at the bootstrap js file, I see that it expects to be able to parse the config string as a json string - but instead it gets HTML.
Any suggestions?