title: Rich:Calendar backed by String throws Exception
body: <p>I have the following RichFaces (3.3.3) :</p>
  <pre><code>    &lt;rich:calendar id=&quot;richCal1&quot;                                    
          value=&quot;#{user.CreateDate}&quot;
          popup=&quot;true&quot; mode=&quot;client&quot;
          inputSize=&quot;20&quot;
          datePattern=&quot;dd/M/yyyy HH:mm&quot;
          enableManualInput=&quot;true&quot;
          buttonIcon=&quot;/images/calendar.gif&quot;&gt;
          &lt;f:convertDateTime type=&quot;date&quot; pattern=&quot;dd/MM/yyyy HH:mm&quot; /&gt;
          &lt;a4j:support bypassUpdates=&quot;true&quot; event=&quot;oninputblur&quot;  ajaxSingle=&quot;true&quot; /&gt;
          &lt;a4j:support bypassUpdates=&quot;true&quot; event=&quot;onchanged&quot; ajaxSingle=&quot;true&quot; /&gt;
      &lt;/rich:calendar&gt;
  </code></pre>
  <p>The backbean Variable Type is String as the the column where the Calendar appears is calculated dynamically based on user profile and can be one of many type of controls (Label,Input,SelectItem,Rich Calendar)....</p>
  <p>The calendar works the first time the page loads and the correct value for <code>RichCal1</code> is retrived and shown (in this case <code>05/03/2012 12:00:00</code>).</p>
  <p>Problem occurs when the page needs to update (excuse the technically incorrect expression, i'll try and explain):</p>
  <p>There is control on the page, where user can click and customize their current profile (additional rows or remove rows...etc). Once updated to reflect the change page needs to update which is where i see the following exception:</p>
  <pre><code>    ERROR: org.ajax4jsf.webapp.BaseXMLFilter - Exception in the filter chain
      javax.servlet.ServletException: myForm:0:richCal1: 'Mon Mar 05 
      12:00:00 EST 2012' could not be understood as a date.
  </code></pre>
  <p>I don't understand how the Date went from appearing as <code>05/03/2012 12:00:00</code> to <code>'Mon Mar 05 12:00:00 EST 2012</code> which is causing the issue.</p>
  <p>Can someone please enlighten me.</p>
  <h2>Update:</h2>
  <p>Further debugging i discovered that when user updates/create a profile in another window, upon completion the process Refreshes the parent window. I set breakpoints on the setter/Getter of the Rich:Calendar value and i can see that first Getter is called and it has the correctly formatted date value, then the Setter is called which is set to <code>Mon Mar 05 12:00:00 EST 2012</code> after which the exception is thrown! Anyone knows why this is happening?</p>