title: Oracle ADF Validate the selected value of a inputComboboxListOfValues
body: <p>I use the Oracle ADF included in JDeveloper 12c. I had to create a comboboxListofValue to select a MsterAsset, let just say it has an Id and a Number, and it's the same entity object as the one I modify.</p>
  
  <p>As I understand you can't have the classic "linked to an id, but show a name" behaviour naturally, so I set the LOV on a transient attribute of my view (MasterAssetNumber)</p>
  
  <p>The LOV return the number and the id, which set the MasterAssetId, the non transient attribute.</p>
  
  <pre><code>&lt;af:inputComboboxListOfValues id="masterAssetNumberId"
    popupTitle="Search and Select: #{bindings.MasterAssetNumber.hints.label}"
    value="#{bindings.MasterAssetNumber.inputValue}"
    label="#{bindings.MasterAssetNumber.hints.label}"
    model="#{bindings.MasterAssetNumber.listOfValuesModel}"
    required="#{bindings.MasterAssetNumber.hints.mandatory}"
    columns="#{bindings.MasterAssetNumber.hints.displayWidth}"
    shortDesc="#{bindings.MasterAssetNumber.hints.tooltip}"&gt;
      &lt;f:validator binding="#{bindings.MasterAssetNumber.validator}"/&gt;
  &lt;/af:inputComboboxListOfValues&gt;
  </code></pre>
  
  <p>This work pretty well except on the validation. I have an entity attribute validation on MasterAssetId, to avoid cycling reference (master is the child of its child, etc...)</p>
  
  <p>Problem is that this validation is triggered even before the MasterAssetNumber value is setted, so visually, there is no change on the screen. But when I save, I have the error message displaying.</p>
  
  <p>Actually the problem is very similar to this blog entry :<a href="http://adfbugs.blogspot.ca/2009/11/attribute-validation-on-input-list-of.html" rel="nofollow">http://adfbugs.blogspot.ca/2009/11/attribute-validation-on-input-list-of.html</a>
  But in my case, I don't have the possibility to just show the valid entries.</p>
  
  <p>How can I make the error propagate to the UI while I select a value OR how to bypass the validation until the save action, for this field?</p>
  
  <p>Thanks</p>