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
sankumsankum 

Details about Action tags

Hi,

iam new in sfdc iam working with vf pages iam  totally confused with action tags i.e

action function

action poller

action region

action status

action suupport

please explain with small examples...

 

Thanks in advance..

 

sfdcfoxsfdcfox
These are all covered in the documentation, but here's a brief summyry:

actionFunction: exposes a controller function as a JavaScript function, so you can invoke the function from JavaScript.

actionPoller: calls a controller function on a timer. It is the same as using an actionFunction with a JavaScript setInterval call.

actionRegion: specifies just a part of the form to submit when an AJAX event originates from within the region. Use this for partial page updates when possible, as it loads faster than rerendering the entire page.

actionStatus: Shows a piece of text or images, etc, that provide visual feedback for the user, letting them know that the page is updating via AJAX.

actionSupport: Attaches a JavaScript function to an element with the intent to invoke the server. It is the same as using a native JavaScript event handler with an actionFunction.