I would like to pass value when I click on a table row:
<h:outputLink id="lnkHidden" value="DatacenterProfile.html" style="text-decoration:none; color:white;">
<f:setPropertyActionListener target="#{DatacentersController.selectedId}" value="#{item.componentStatsId}" />
</h:outputLink>
I get this error:
<f:setPropertyActionListener> Parent is not of type ActionSource, type is: javax.faces.component.html.HtmlOutputLink@aa25b91
Is there any appropriate JSF tag which can be used to replace <h:outputLink>
?
In addition to @BalusC answer. I have used something like this in my project.
You can pass/use attributes based on your scenarios.