I am upgrading from Primefaces 7.0.x to 8.0.18 and face a problem with the <p:remoteCommand> hat did not occur in version 7.0.
Even when using the examples from the showcase (https://www.primefaces.org/showcase-v8/ ... mand.xhtml) I geht the following error in the browser console:
core.js?ln=primefaces&v=8.0:18 Uncaught TypeError: $.escapeSelector is not a function
at Object.send (core.js?ln=primefaces&v=8.0:18)
at Object.offer (core.js?ln=primefaces&v=8.0:18)
at Object.handle (core.js?ln=primefaces&v=8.0:18)
at Object.PrimeFaces.ab (core.js?ln=primefaces&v=8.0:18)
at rc (my-page:262)
at HTMLButtonElement.onclick (my-page:264)
Code: Select all
<h:form id="remoteCommand" class="form-horizontal" role="form">
<p:remoteCommand name="rc" update="msgs" action="#{mybean.init}" />
<p:growl id="msgs" showDetail="true" skipDetailIfEqualsSummary="true" />
<p:commandButton type="button" onclick="rc()" value="Execute" icon="pi pi-refresh" />
</h:form>
Did anybody experience the same issue? What is the cause and how to solve it ? Thanks!