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 -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -