function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
renaiah anamalla 6renaiah anamalla 6 

Action function,Action poller,Action status..Ajax

what is the differ b/w:
Deepthi BDeepthi B
Hello Renaiah,

These are the AJAX action tags that support the calling of action and refresh the field only not the entire Visualforce page.
1. <apex:actionFunction> - Provides support for invoking controller action methods directly from JavaScript code using an AJAX request. An <apex:actionFunction> component must be a child of an <apex:form> component.
 
2. <apex:actionPoller> -  A timer that sends an AJAX update request to the server according to a time interval that you specify. Update request can then result in a full or partial page update. You should avoid using this component with enhanced lists.
 
3. <apex:actionStatus> -  A component that displays the status of an AJAX update request. An AJAX request can either be in progress or complete
 
You can the below links for further reference with examples
http://www.crmsalesforcetraining.com/actionfunction-salesforce-example/
http://www.crmsalesforcetraining.com/visualforce-actionpoller-component/
http://www.crmsalesforcetraining.com/salesforce-actionstatus-component/

Hope this helps you!
Regards,
Deepthi
Head In CloudHead In Cloud
Hi Renaiah,

There are main difference between these tag:
apex:actionFunction - action function used to call the server side method using JavaScript
apex:actionStatus -   actionStatus visualforce component displays the status of an AJAX update request. An AJAX request can either be in progress or complete.
apex:actionPoller-   action poller used to call the server side method in a regular interval of time,,.....

Check this links for more detail
http://www.cloudforce4u.com/2013/06/difference-between-action-support-and.html
http://salesforcecrm2u.blogspot.in/2014/02/difference-between-action-function.html

Hope this helps!