title: p:calendar value not set in backing bean
body: <p>Hi I am using PrimeFaces. I have a <code>&lt;p:calendar&gt;</code> in a dialog box and I would type date manual . But my date is not setting in bean's variable. It works for dataSelect event but don't work keypress or keydown event. I am wondering it is also working outside dialog box. Here is my code:</p>
  
  <pre class="lang-jsf prettyprint-override"><code>&lt;p:calendar readonlyInput="false" id="Date1" rendered="true"
      navigator="true" showButtonPanel="true"  
      styleClass="form-control cal_input" showOn="both" 
      pattern="#{sessionManager.defaultDateFormat.substring(0,11)}"
      yearRange="#{appLabel['year_Range']}" tabindex="203" 
      value="#{mangeCreateOrdersTO.searchOrderPatientBean.DOB}"
      disabled="false" mask="true"
      maxdate="#{mangeCreateOrdersTO.maxDateOfBirth}"
      autocomplete="#{appLabel['autoCompleteSetting']}"
      onkeypress="return disableEnterKey(event)"&gt;
    &lt;p:ajax event="dateSelect" process="@this" partialSubmit="true"  ignoreAutoUpdate="true" update="form:Date1"/&gt;
    &lt;p:ajax event="keydown" process="@this" immediate="true" partialSubmit="true" ignoreAutoUpdate="true" listener="#{mangeCreateOrdersTO.add(mangeCreateOrdersTO.searchOrderPatientBean.DOB)}"/&gt;
  &lt;/p:calendar&gt;
  </code></pre>
  
  <p>Please help me to get rid from this problem. Thanks in advance.</p>