Activity Forums Salesforce® Discussions Explain ActionFunction, ActionSupport and ActionPoller in Salesforce Visualforce.

  • shariq

    Member
    September 22, 2018 at 6:38 pm

    apex:ActionFunction: This component helps to envoke AJAX request (Call Controllers method) directly from Javascript method. It must be child of apex:form. Read here – http://www.salesforce.com/us/developer/docs/pages/Content/pages_compref_actionFunction.htm

    apex:ActionSupport: This component adds Ajax request to any other Visualforce component. Example : Commandlink button has inbuilt AJAX functionality however few components like OutputPanel does not have inbuilt AJAX capabilities. So with the help of this component, we can enable AJAX. Read more here.

    apex:ActionPoller: This is timer component which can send AJAX request on pre-defined interval. Minimum interval is 5 sec and default is 60 sec

  • Parul

    Member
    September 23, 2018 at 5:51 am

    actionFunction: It is used to call the server side method using javaScript.

    actionSupport: It is used to call the server based on the client side event i.e. like onclick, onchange etc.

    actionPoller: It is used to call the server side method in a regular interval of time.

    actionRegion: An area of a Visualforce page that demarcates which components should be processed by the Force.com server when an ajax request is generated.

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos