RichFaces 4.2 Calendar. How can I set the InputField of Calendar by JavaScript?
<p>I have to copy a Date String at client side to the Calendar input field "renewal_date_input". The following JavaSript did not work:</p>

<pre><code>document.getElementById('AddressDetails:renewal_date_input').value = renewalDateCombo.value.toString();
</code></pre>

<p>Although with:</p>

<pre><code>alert("written date is: " + document.getElementById('AddressDetails:renewal_date_input').value);
</code></pre>

<p>We can read out the correct date string written previously.
But the string does not appear in the input field.
Manual Input is enabled: </p>

<pre><code>enableManualInput="true"
</code></pre>

<p>Perhaps the JavaScript Function <code>setInputField: function(dateStr, event)</code> shipped with rich faces <code>calendar.js</code> could help, but how do I use it?</p>
