How to run Javascript in Vaadin ?

How do I run javascript ?

I need to run javascript so that I can disable the statusbar of web-browser
With js I can do like “statusbar=no” but from vaadin how do I control statusbar of web browser?

I find pointers like

Javascript Integration :

running javascript :


If you are opening a new window, and want it w/o statusbar, you can do that via the java API, see Sampler for example:
(sets Window.BORDER_NONE).

If you want to call javascript explicitly, you can use the window.executeJavaScript() method as seen here:

(Sampler is your friend :wink:

Lastly, you can implement a custom client-side widget; see the Book of Vaadin for more info.

Best Regards,