Return value processed in Javascript to the Managed bean

Asked

Viewed 438 times

8

Is it possible to return processed value in Javascript to the Managed bean? What’s different in this process is that I run the JS method on the bean, like this:

RequestContext.getCurrentInstance().execute("getResult()");

1 answer

0

It is possible, indirectly, using the p:remoteCommand.

Where a Javascript call can run methods on Bean.

See an example in: remoteCommand Primefaces.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.