title: How to change the standard href="#" attribute of h:commandLink?
body: <p>I am maintaining a JSF2 Ajax application and we are heavily using <code>h:commandLinks</code> and <code>f:ajax</code> tags for all actions - always only rerendering what is needed. </p>
  
  <p>This does of course break the expected behaviour for the user when performing a right click on the links and choosing "Open Link in New Tab" etc.</p>
  
  <p>I understand that f:ajax forces the href atribute of the resulting <code>a</code> element to be <code>#</code> and does all the magic post request trickery in the onclick function - I now want to provide fallback support for the "Open Link..." action by putting some meaningful link in the href attribute of the resulting <code>&lt;a&gt;</code> tag. </p>
  
  <p>This would not break the "normal" onclick behaviour as the generated javascript always finishes with <code>return false;</code> but would allow me to send my users to some page using a normal GET request in case they want to open the link in a new window.</p>
  
  <p>Is there a build in way to do this? Or could somebody point me in the right direction on where in the JSF lifecycle I would have to jump in to do this maybe using a phase listener?</p>