I had disabled PrimeFaces HeadRenderer
for the reason as mentioned in this post in order to make the JSF implementation use its own HeadRenderer
as follows.
<render-kit>
<renderer>
<component-family>javax.faces.Output</component-family>
<renderer-type>javax.faces.Head</renderer-type>
<renderer-class>com.sun.faces.renderkit.html_basic.HeadRenderer</renderer-class>
</renderer>
</render-kit>
This was working fine before PrimeFaces was upgraded. After upgrading PrimeFaces to 6.0 (along with "PrimeFaces Extensions" with the same version), inclusion of JavaScript files leads to some problems like.
Uncaught TypeError: Cannot read property 'split' of undefined
This error comes from within the PrimeFaces core.js
file. Unlike previous versions, there is no primefaces.js
but it was replaced by core.js
and components.js
.
Because of this error, AJAX calls doing paging, sorting, filtering in <p:dataTable>
, for example, all stopped working.
Any suggestion?