title: Validating a wrong date entry in rich faces
body: <p>In one of our functionality we have some date fields for inline edit where we have enabled manual input. If in rich:calendar component, we manually enter improper date or junk data it will not even call the action method. As per our requirement we need to display an error message for date validation for these kind of fields. Is there any way to track that the date entered in the calendar field is improper with this component.
  Code for the reference:  </p>
  
  <pre><code>&lt;rich:calendar id="actualOpeningDtCal" rendered="#{!empty aProgram.id}" 
      value="#{aProgram.actualOpeningDate}" placeholder="dd-mmm-yyyy" 
      inputSize="20" enableManualInput="true"  datePattern="dd-MMM-yyyy"  
      buttonIcon="../content/images/calendar.png" showWeeksBar="false"
      showFooter="false"&gt;
      &lt;a4j:support event="oninputblur" reRender="aList" ajaxSingle="false" 
          action="#{aController.inlineEdit}"&gt; 
          &lt;f:setPropertyActionListener value="#{aProgram}" 
              target="#{aController.inLineEditaBean}" /&gt;
      &lt;/a4j:support&gt;      
      &lt;a4j:support event="oncollapse" reRender="aList" ajaxSingle="false"
          action="#{aController.inlineEdit}"&gt; 
          &lt;f:setPropertyActionListener value="#{aProgram}" 
              target="#{aController.inLineEditaBean}" /&gt;
      &lt;/a4j:support&gt;   
  &lt;/rich:calendar&gt;   
  </code></pre>