title: Primefaces, captcha and FacesMessage
body: <p>I have integrated reCaptcha component in my JSF view (Primefaces) and I want to gather reCaptcha fails errors (blank or error values). </p>
  
  <p>I have to use <code>&lt;p:messages/&gt;</code> component with <code>for</code> attribute because I have many <code>&lt;p:messages/&gt;</code> components (1 for tab in <code>&lt;p:tabView/&gt;</code> component) but when I define <code>id</code> attribute in my <code>&lt;p:captcha/&gt;</code> component and use that id in the <code>for</code> attribute of the <code>&lt;p:messages/&gt;</code>, it doesn't work. When I don't use <code>for</code> attribute to test, I see <code>FacesMessage</code> like :</p>
  
  <blockquote>
    <p>j_idt16:j_idt69 : bla bla bla...</p>
  </blockquote>
  
  <p>but <code>j_idt16:j_idt69</code> id doesn't seem to exist in my generated HTML code...</p>
  
  <p>If I use <code>for="j_idt16:j_idt69"</code> it doesn't work too...</p>
  
  <p>So how can I dispatch <code>captcha</code> messages into proper <code>messages</code> component please ?</p>