title: Bind two JSF input fields with single property of backing bean
body: <p>Suppose I have two <code>h:inputText</code> components. I want to bind both of the text fields with single property in the backing bean. The problem is that the value submitted to backing bean is that from second text field. I want that the value should be submitted from that field in which user entered the text.</p>
  
  <p>My code:</p>
  
  <pre><code>&lt;h:inputText id="text1" value="#{bean.value}"&gt;
      ......
  &lt;/h:inputText&gt;
  
  
  &lt;h:inputText id="text2" value="#{bean.value}"&gt;
      .......
  &lt;/h:inputText&gt;
  </code></pre>
  
  <p><strong>Note</strong> that the value in both of the above fiekds is <code>bean.value</code></p>