Please be aware that there is newer version of documentation available for Webswing. Documentation 24.2
JsLinkDirect
For a more robust and simple communication between the browser and your app, you can use JsLinkDirect. Unlike JsLink, JsLinkDirect does not use 3rd party library classes or javascript eval function. It works as an action listener and action trigger on both sides and is very easy to use.