Directory

ActiveLink - Vaadin Add-on Directory

A Link component that sends event to the server - "Link and Button, all in one" ActiveLink - Vaadin Add-on Directory
ActiveLink is an extended Link component that sends an event to the server when clicked, before navigating to the linked URL. This allows an application to allow a user to open stuff in new windows/tabs while still doing the ajaxy-thing when when the user does not. "Best of both worlds." It also sends some additional information about which modifiers where held (e.g shift) and which mouse button was clicked. (Plain-old left-click is reliable, but some other situations are more difficult depending on the browser; verify in the relevant browsers if it covers your needs.) If no listeners are attached, it will behave like a regular Link. Thanks to Sami Viitanen for fixing 7.3 compatibility. NOTE Now on GitHub!