Hi,
I’m experiencing a problem while implementing a simple button with Vaadin 7.0.0.alpha1
Here’s code snippet
final Button button = new Button("hello", new Button.ClickListener() {
public void buttonClick(Button.ClickEvent event) {
// do any stuff here
}
});
The result of pushing the button in the browser is
in Chrome
Communication problem
Take note of any unsaved data, and click here to continue.
(SyntaxError): Unexpected identifier - Original JSON-text: html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
In FF
Communication problem
Take note of any unsaved data, and click here to continue.
(SyntaxError): missing ) in parenthetical stack: I_(" html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\“>\n\n\n\n\n\n\n\n\n\n
\n\n”)@http://localhost:8080/:1296 W$([object Object]
," html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\“>\n\n\n\n\n\n\n\n\n\n
\n\n”)@http://localhost:8080/:1801 V_([object Object]
,[object Object]
)@http://localhost:8080/:1904 _o([object Object]
,[object Object]
)@http://localhost:8080/:1603 zp([object XMLHttpRequest]
)@http://localhost:8080/:1904 ([object Event]
)@http://localhost:8080/:1275 Gd((function () {a.yc(b);}),[object XMLHttpRequest]
,[object Arguments]
)@http://localhost:8080/:1012 Jd((function () {a.yc(b);}),[object XMLHttpRequest]
,[object Arguments]
)@http://localhost:8080/:1714 ([object Event]
)@http://localhost:8080/:1382 fileName: http://localhost:8080/ lineNumber: 1296 - Original JSON-text: html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
Some JS problem I guess?