What I'm trying to do is rerender my form once a row in the table is clicked. Initially, I have just put a system debug line in the function in the controller and I have not been able to see it in the debug log since the action support is not going there. Not sure why honestly...
VF Page :
<apex:column width="50px;">
<apex:facet name="header">Name</apex:facet>
<apex:outputpanel>
<apex:actionSupport event="onRowClick" action="{!setSource}" reRender="form">
<apex:param name="temp.name" value="{!temp.Name}"/>
<apex:param name="temp.id" value="{!temp.ID}"/>
</apex:actionSupport>
{!temp.Name}
</apex:outputpanel>
</apex:column>
Btw, this column is part of an apex page block table :
<apex:pageBlockTable rows="5" rendered="{!selectedObject=='ACCOUNT' && foundResults==true}"
value="{!searchResultsAcc}" var="temp">
Function in controller :
public void setSource() {
System.debug('Inside setSource()');
}