title: JSF/Rich 2.0 - Call bean method when item selected in rich:select
body: <p>I m trying call method bean when an item is selected in combo (rich: select) as follow:</p>
  
  <pre><code>    &lt;rich:select id="combo"
          value="#{bean.code}"
          valueChangeListener="#{bean.productChanged}"
          immediate="true" required="true"&gt;
          &lt;a4j:ajax event="change" render="callConflict"
              oncomplete="javascript:showConflict();" /&gt;
          &lt;f:selectItems
              value="#{bean.products}" /&gt;
          &lt;f:attribute name="attributeName"
              value="#{bean.attribute}" /&gt;
      &lt;/rich:select&gt;
  </code></pre>
  
  <p>But this code, the method in the bean is only called when the item is changed <strong>AND WHEN THE COMBO LOSES FOCUS</strong></p>
  
  <p>As should be done to invoke the method on the bean after changing the product without having to wait for combo loses focus?</p>
  
  <p>Thanks.</p>