This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Why can't you use ajax4jsf? It is very easy to use these kind of things with that. You can assign an id(say dataTableId) to your datatable and on click of the commandlink call an a4j function and onComplete you can reRender the dataTableId.