title: change the date format in jsf
body: <p>I've retrieved data from database and displayed it using</p>
  
  <pre><code>&lt;h:column&gt;
    &lt;f:facet name="header"&gt;
     &lt;h:outputText value=" Date"/&gt;
    &lt;/f:facet&gt;
    &lt;h:outputText value="#{item.date}"&gt;&lt;/h:outputText&gt;
  &lt;/h:column&gt;
  </code></pre>
  
  <p>the date here is displayed in YYYY-MM-DD, I want to change it to normal i.e., dd-mm-yyyy format.Can i get any suggestion??</p>