
2 risposte
They are similar in many ways.The main difference is:Actionfunction is a function that can be called by any component via onclick, ondbclick, onblur event of that componentActionSupport is added to a particular component like button or outputtext and the event is controlled by the actionsupport not the component thus actionsupport help enhance the compononment itself by being part of the component itself."lastly, if i have two command buttons with same name "Save" at different places on my vf page and required to define Actionsupport for them,do i have to create seperate methods for those two buttons or can i use one method for those two buttons"Each button would need it's own action support tag but both action supports can call the same method in the controller like action="{!Save}"Here's a good article for the differences:http://www.cloudforce4u.com/2013/06/difference-between-action-support-and.htmlThxGood Luck