Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Button & ClickListener
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?
This looks a lot like http://dev.vaadin.com/ticket/8274. You can test using the nightly build from 21.01.2012 instead of the alpha1 release. It should not contain any major changes compared to the alpha1 release, but some defects have been fixed.
Me also getting this issue:
"NetworkError: 504 Gateway Timeout - http://220.247.223.53:8080/zmssp/UIDL?windowName=1"
How to solve this?