I want a commandlink to be executed when the row is clicked in my datatable. I’ve created a <h:commandLink> in one of my columns, where a parameter is passed through <f:setActionPropertyListener/> Is there a clean solution to fire this link by a rowClick? Sure I could workaround my missing knowledge with some jQuery but there should be a cleaner way?
I want a commandlink to be executed when the row is clicked in my
Share
You can, using richfaces:
<a4j:jsFunction>, with<a4j:actionparam>– the id of the rowonRowClick="functionName(#{item})“