title: How to display FacesMessage for specific commandLink/commandButton/form?
body: <p>On clicking the Submit button I have to do application/business level validations and associate the error message to a link. As I cannot do that is there any way that I can place the error message on top of the link. </p>
  
  <p>My validation for business logic is in the action method</p>
  
  <pre><code>FacesMessage message = new FacesMessage();
  message.setSeverity(FacesMessage.SEVERITY_ERROR);
  message.setSummary("ERROR MESSAGE");
  message.setDetail("ERROR MESSAGE");
  FacesContext.getCurrentInstance().addMessage("linkId", message);
  </code></pre>
  
  <p>Help is greatly appreciated</p>