Javascript integration is not working

Hi,

I have been trying to make the javascript integration work in vaadin but it is not happening.
Its a simple example given in “Packt.Vaadin.7.UI.Design.By.Example.Beginners.Guide.Jul.2013.pdf”.
Please see the screenshots.
16218.png
16219.png
16220.png

We need more Information… What “is not happening”? Are there any Javascript Exceptions? Serverside exceptions?

Ok i think the problem is, that you missed to use

this.onStateChange = function() {

}

in your spinner.js Javascript.

Take a look here: https://vaadin.com/wiki/-/wiki/Main/Integrating+a+JavaScript+component+

Thanks a lot for your reply. Yes, I forgot to specify the onstate change function. Its working now.