Vaadin 7 embeding Javascript code

Hi All,
I am new to vaadin and enjoying it.

Recently i have a requirment to embed a button from third party. Basically they give us a small piece of code with a javascipr libray link(like addthis) and we have to put that code in our website and a nice Button will be displayed. But i am unable to find a way to do so. In normal html just copy paste of that code works.

I tried CustomLayout and Label but it doesnt work.

This is the code which need to be embeded, which will display a payment button.

Thanks in advance


have you checked this Wiki page yet?

There’s also a bit about integrating JavaScript components in the Book of Vaadin:

Hope this helps,