Return value processed in Javascript for the managed bean is it possible? What's different about this process is that I run the JS method on the bean, like this:
RequestContext.getCurrentInstance().execute("getResult()");
Return value processed in Javascript for the managed bean is it possible? What's different about this process is that I run the JS method on the bean, like this:
RequestContext.getCurrentInstance().execute("getResult()");
It is possible, indirectly, using p:remoteCommand
.
Where a JavaScript call can execute methods in Bean .
See an example at: remoteCommand Primefaces .