Pass parameter to p:remoteCommand from JavaScript

Yes, it is possible. How to do that depends on the PrimeFaces version. You can see it in PrimeFaces users guide. PrimeFaces 3.3 or newer Since PrimeFaces version 3.3 the syntax is as follows (copypasted from 3.3 users guide). 3.81 RemoteCommand … Passing Parameters Remote command can send dynamic parameters in the following way; increment([{name:’x’, … Read more