I noticed that the getLocaleSettings function in the core.js is new to Primefaces 6.0. In the following snippet b.settings.locale is empty, then it fails on the c.split
Code: Select all
getLocaleSettings: function() {
if (!this.localeSettings) {
var c = b.settings.locale;
this.localeSettings = b.locales[c];
if (!this.localeSettings) {
this.localeSettings = b.locales[c.split("_")[0]];
if (!this.localeSettings) {
this.localeSettings = b.locales.en_US
}
}
}
return this.localeSettings
Code: Select all
<p:dataTable />