This is a javascript error I have every time the tomcat server is restarted. After the page is refreshed there is no e开发者_StackOverflow社区rror any more.
Does anybody know what's wrong?
You can declare your ajax-loaded primeface components as below and the problem is solved. This is because primefaces doesn't load all the widget's javasripts at the first load of the page, you have to force it to load the libs for your ajax-loaded widgets.
<p:accordionPanel rendered="false" />
<p:inputText rendered="false" />
<p:inputMask rendered="false" />
<p:autoComplete rendered="false"/>
精彩评论