title: how can I validate a composite component on blur?
body: <p>I have a composite component that contains two inputText components.
  The composite component manages a bean containing two Integers.</p>
  
  <pre><code>class valueBean {
    private Integer valueA;
    private Integer valueB;
    //getters, setters.
  }
  
  &lt;composite:interface componentType="valueBeanUI"&gt;
    &lt;composite:attribute name="value"&gt;
  &lt;/composite:interface&gt;
  
  &lt;composite:implementation&gt;
    &lt;h:inputText id="inputA"/&gt;
    &lt;h:inputText id="inputB"/&gt;
  &lt;/composite:implementation&gt;
  </code></pre>
  
  <p>In my valueBeanUI I implement getConvertedValue and encodeBegin.</p>
  
  <p>Everything works as expected - when I click submit the code in getConvertedValue is called and I can throw error messages if the conversion values if the user enters characters in the integer fields.</p>
  
  <p>What I would like to do is be able to require a valid value in both fields, and show one error message if this condition is not met. I have this working when the user clicks submit, but I'd like to fire it on blur of either field (inputA or inputB). I cant figure out how to validate the backing component when either field blurs. Can anyone suggest a way to achieve this? I dont want to submit the whole form - I'd like to do just this component via ajax.</p>