jsf - <f:setPropertyActionListener> Parent is not of type ActionSource -


i pass value when click on 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 error:

<f:setpropertyactionlistener> parent not of type actionsource, type is: javax.faces.component.html.htmloutputlink@aa25b91

is there appropriate jsf tag can used replace <h:outputlink>?

the f:setpropertyactionlister works actionsource components h:commandlink , h:commandbutton. should use 1 of these if want way. see


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -