You need to sign in to do that
Don't have an account?
Ashvin Jadhav 13
Action method from controller is not getting called from ActionSupport tag in VF
Hi All,
I have inputcheckbox tag as,
<apex:inputcheckbox value="{!p.selected}" id="CheckOne">
<apex:actionSupport event="onclick" action="{!getSelected}" reRender="SelectedItems" />
</apex:inputcheckbox>
Where I am calling getselected function from controller as,
public PageReference getSelected(){
system.debug('in getselected function ***');
SelectedProducts.clear();
.........
But this method is not getting called on clicking of a checkbox.
Kindly help !
Regards,
Ashvin
I have inputcheckbox tag as,
<apex:inputcheckbox value="{!p.selected}" id="CheckOne">
<apex:actionSupport event="onclick" action="{!getSelected}" reRender="SelectedItems" />
</apex:inputcheckbox>
Where I am calling getselected function from controller as,
public PageReference getSelected(){
system.debug('in getselected function ***');
SelectedProducts.clear();
.........
But this method is not getting called on clicking of a checkbox.
Kindly help !
Regards,
Ashvin