I have a table and each row has the \'onclick\' configured to call a js function - this part works. I would like the function to issue an ajax request to a method that I can
Using native JSF alone, I have no idea how to do that. However, you should take a look at PrimeFace's RemoteCommand. It's exactly what you need at the moment. It would be something like this: