Search code examples
javascriptjsfprimefacesparametersremotecommand

Pass parameter to p:remoteCommand from JavaScript


I want to pass value to remoteCommand from javascript. If this is possible, how can I do that and how can I receive them in the backing bean?


Solution

  • remoteCommandFunctionName({name1:'value1', name2:'value2'});