title: <p:calendar> not working properly while the pattern="dd-MMM-yyyy" is mentioned for locale="fr"
body: <p>In my multilingual project the application is viewed in two languages: English and French. I have a date picker calendar to insert date. like:</p>
  
  <pre><code>&lt;p:calendar id="doj" required="true" yearRange="c-100:c+100"
                value="#{userdetailsController.currentlyLoggedUser.doj}" 
                styleClass="calendar" showOn="button" label="#{prop['tum.doj.label']}" 
                navigator="true" locale="#{localeController.locale}"
                pattern="dd-MMM-yyyy"&gt;
  &lt;/p:calendar&gt;
  </code></pre>
  
  <p>when locale <code>en</code> is selected the <code>&lt;p:calendar&gt;</code> works fine. on clicking the calendar button opens the date picker calendar. But when the locale <code>fr</code> is selected <code>&lt;p:calendar&gt;</code> button does not work. But if I remove the pattern or make the <code>pattern="dd-MMMM-yyyy"</code> then it works fine. But I want to show the date in <code>dd-MMM-yyyy</code> pattern.</p>
  
  <p>Please suggest!
  Thanks in advance.
  I am using primefaces3.5 in my application.</p>