Return value processed in Javascript for the managed bean

2

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()");
    
asked by anonymous 18.09.2015 / 21:37

1 answer

0

It is possible, indirectly, using p:remoteCommand .

Where a JavaScript call can execute methods in Bean .

See an example at: remoteCommand Primefaces .

    
21.09.2015 / 21:46