code: public void setAction(final Action action, final AjaxTarget... actionTargets) {
  		LinkModel model = getOrCreateComponentModel();
  		model.action = action;
  		model.actionTargets = actionTargets;
  	}
docs: Sets the action that will run if the link is pressed.
  <p>
  The intended use of this action is when the link opens a new window or launches another application such as
  "mailto".
  </p>
  
  @param action the action to execute when the link is pressed.
  @param actionTargets the targets to replace when the link is clicked.