title: How to specify a button to open an URL?
body: <p>I want to write a web application that triggers the default email client of the user to send an email.</p>
  
  <p>Thus, I created a Link, that leads to an URL conforming to the mailto URI scheme (<a href="http://en.wikipedia.org/wiki/Mailto">http://en.wikipedia.org/wiki/Mailto</a>):</p>
  
  <pre><code>Link emailLink = new Link("Send Email", 
      new ExternalResource("mailto:someone@example.com"));
  </code></pre>
  
  <p>However, instead of using a Link, I want to provide a Button that allows to trigger the respective functionality. But, for buttons I cannot set an ExternalResource to be opened.</p>
  
  <p>Does anybody know to solve this problem for Buttons, or how to create a Link that looks and behaves exactly like a button? I also tried some CCS modification but did not manage the task by myself. I also found some solutions for former Vaadin versions (<a href="https://vaadin.com/forum/#!/thread/69989">https://vaadin.com/forum/#!/thread/69989</a>), but, unfortunately they do not work for Vaadin 7.</p>