ActiveLink | Vaadin

A Link component that sends event to the server - "Link and Button, all in one"

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!


Link to this version
BetaReleased 24 November 2014Apache License 2.0
Framework Support
Vaadin 7.0+
Also supported:
Vaadin 6 (1.0)
Install with
Release notes - Version 7.3.1

Removed DemoUI that was accidentally included in the jar