Is there any way to call a managed bean method from JavaScript?
I have a link in a datatable which should go to a document repository for the corresponding tender. Please check the screenshot. But the datatable, inside a panel, which is inside a layout and so the link is not diverting the page to the required path. So I am trying to call a JavaScript from the link which in turn call a method from managed bean which will return to the required page. I have tried to hide a button and make it submit on click of the link. But its not working.

To navigate to require page you need to pass the required information in f:param (e.g In your case pass the unique id or number or may be tender number something )and the call the ManagedBean method on it.