title: How to display a confirm dialog for h:commandLink
body: <p>I have a h:commandLink and I want to display a confirm jsf dialog box before executing the action.(don't need the javascript confirm popup)</p>
  
  <pre><code>&lt;h:commandLink action="#{myClass.downloadFile}" alt="Download File"&gt;
  &lt;div class='proceed' title="Download"&gt;&lt;/div&gt;
  &lt;/h:commandLink&gt;
  </code></pre>