You need to sign in to do that
Don't have an account?
Hitesh chaudhari
Can anyone please tell me difference between action function, action pollar, action region, action support
I am new to Salesforce and I am confused between use of following apex concepts
Thanks in advance
- Action function
- Action region
- Action pollar
- Action support
- Action status
Thanks in advance
<apex:actionFunction name=”sendEmail” action=”{!sendEmailFunction}”>
</apex:actionFunction>
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.
<apex:outputpanel id=”counter”>
<apex:outputText value=”Click Me!: {!count}”/>
<apex:actionSupport event=”onclick” action=”{!incrementCounter}” rerender=”counter” status=”counterStatus”/>
</apex:outputpanel>
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.
<apex:actionPoller action=”{!incrementCounter}” rerender=”counter” status=”counterStatus” interval=”50″ />
https://www.forcetalks.com/salesforce-topic/difference-between-action-function-action-support-and-action-poller-in-salesforce/
https://www.forcetalks.com/salesforce-topic/difference-between-action-function-action-support-and-action-poller-in-salesforce/
http://www.sfdcpanda.com/difference/
http://salesforcecrm2u.blogspot.com/2014/02/difference-between-action-function.html
https://www.cloudforce4u.com/2013/06/difference-between-action-support-and.html
https://sfdcpanther.wordpress.com/2017/10/04/difference-between-action-function-action-support-and-action-polar/
https://www.cloudforce4u.com/2013/06/difference-between-action-support-and.html