I'm working on a JSF 2.0 project using Mojarra 2.0.4-b03, PrimeFaces 2.2.1 and Tomcat 6.29.
I use the calendar like this
Code: Select all
<p:calendar value="#{boxItem.agendaDate}" mode="inline" showOtherMonths="true" styleClass="agendaHBox"
selectListener="#{boxItem.handleAgendaDateChange}" onSelectUpdate="@form"/>
In my view i set the locale
Code: Select all
<f:view locale="#{wagent.socleAgent.siteLanguage.id}">
But when i choose other locale (French or spannish) , he show (3th September 2011).
What's wrong on my code and how can I fix it?