The following situation is happening when was used the calendar in the following condition:
Code: Select all
<p:calendar id="dataEmissao" size="12" locale="pt" value="#{testBean.dataEmissao}" pattern="dd/MM/yyyy" />
Code: Select all
PrimeFaces.locales['pt'] = {
closeText: 'Fechar',
prevText: 'Anterior',
nextText: 'Proximo',
currentText: 'Começo',
monthNames: ['Janeiro','Fevereiro','Março','Abril','Maio','Junho','Julho','Agosto','Setembro','Outubro','Novembro','Dezembro'],
monthNamesShort: ['Jan','Fev','Mar','Abr','Mai','Jun', 'Jul','Ago','Set','Out','Nov','Des'],
dayNames: ['Domingo','Segunda','Terça','Quarta','Quinta','Sexta','Sabado'],
dayNamesShort: ['Dom','Seg','Ter','Qua','Qui','Sex','Sab'],
dayNamesMin: ['D','S','T','Q','Q','S','S'],
weekHeader: 'Semana',
firstDay: 1,
isRTL: false,
showMonthAfterYear: false,
yearSuffix: '',
timeOnlyTitle: 'Só Horas',
timeText: 'Tempo',
hourText: 'Hora',
minuteText: 'Minuto',
secondText: 'Segundo',
currentText: 'Agora',
ampm: false,
month: 'Mes',
week: 'Semana',
day: 'Dia',
allDayText : 'Todo Dia'
};
Code: Select all
<h:outputScript name="js/primefaces-locales.js" library="custom" />
The label of March (Março in portuguese) is being presented "Mar?o 2015" instead of "Março 2015".
This code/condition was already used in other project with sucess.
Could you please confirm if it's necessary any specific setting to solve this issue when the Sentinel Layout is used?
Thank you
Renato