Uncaught TypeError: Cannot read property 'split' of undefined when PrimeFaces HeadRenderer is turned off in order to make JSF use its own HeadRenderer -
i had disabled primefaces headrenderer
reason mentioned in this post in order make jsf implementation use own headrenderer
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 working fine before primefaces upgraded. after upgrading primefaces 6.0 (along "primefaces extensions" same version), inclusion of javascript files leads problems like.
uncaught typeerror: cannot read property 'split' of undefined
this error comes within primefaces core.js
file. unlike previous versions, there no primefaces.js
replaced core.js
, components.js
.
because of error, ajax calls doing paging, sorting, filtering in <p:datatable>
, example, stopped working.
any suggestion?
Comments
Post a Comment