I'm trying to call this function but the debug statement is not working.
<apex:selectList value="{!year}" title="Yıl" id="yearFilter" multiSelect="false" size="1" >
<apex:selectOptions value="{!years}"/>
<apex:actionSupport event="onchange" action="{!setSelectedMethod}" reRender="refreshSection" status="status" />
</apex:selectList>
Apex
public void setSelectedMethod(){
System.debug('setselectedmethod##');
dataRefresh(userId);
}
Any help is much appreciated.