title: How do I retrieve a JSF component value by using EL?
body: <p>Before going on, see this <a href="https://stackoverflow.com/questions/1705399/how-can-i-pass-a-form-field-as-a-action-parameter-by-using-seam-framework">question</a></p>
  
  <p>It's JSF form is shown again as follows:</p>
  
  <pre><code>&lt;f:view&gt;
      &lt;h:form&gt;
          &lt;div&gt;
              &lt;label&gt;Id&lt;/label&gt;
              &lt;input type="text" name="accountId"/&gt;
          &lt;/div&gt;
          &lt;div&gt;
              &lt;label&gt;Amount&lt;/label&gt;
              &lt;input type="text" name="amount"/&gt;
          &lt;/div&gt;
          &lt;h:commandButton value="Withdraw" action="#{accountService.withdraw(param.accountId, param.amount)}"/&gt;
      &lt;/h:form&gt;
  &lt;/f:view&gt;
  </code></pre>
  
  <p>Notice that I have used <code>&lt;input type="text" name="amount"&gt;</code> instead of <code>&lt;h:inputText id="amount"&gt;</code>. <strong>In order to retrieve its value</strong> by using Seam EL resolver, I use <code>param.amount</code>.</p>
  
  <p>It happens that if I use <code>&lt;input type="text"</code> and something goes wrong on server side, I need to show the page again. So its submitted value <strong>is not retrieved</strong> because it is a plain html code. Because of that, I need to use a <code>&lt;h:inputText</code> JSF component instead.</p>
  
  <p>So the question is: How do I retrieve a <code>&lt;h:inputText</code> JSF component value <strong>by using Expression Language</strong>?</p>