title: Data in <h:inputText readonly="true"> disappears when command button is clicked
body: <p>I am using JSF 1.1. I have a JSF page with a request scoped bean and a readonly input field. </p>
  
  <pre><code>&lt;h:inputText id="dt" value="#{bean.sdate}" readonly="#{bean.disable}" /&gt;
  &lt;a onclick="cal('dt');"&gt;&lt;img src="fr.gif" border="0"&gt;&lt;/a&gt;
  </code></pre>
  
  <p>When I set the input value using JavaScript and click on command button, then the data in input field disappears.</p>
  
  <p>How is this caused and how can I solve it.</p>