- May 4, 2017 at 1:30 pm #19893Manpreet #228
Now, a very simple and a common example of ActionFunction is mimicking the Field Dependency feature on Visualforce Pages. Say for example you had two Picklists – Select the Object and Select the Field. When a user selects an Object, the next Picklist automatically gets populated with the Fields that belong to the object.
@RemoteAction in Visual force page
The remote method definition in your Apex controller class. This method definition is written in Apex, but there are few differences from normal action methods.
namespace is the namespace of the controller class. This is required if your organization has a namespace defined, or if the class comes from an installed package.
controller is the name of your Apex controller.
method is the name of the Apex method you’re calling.
parameters is the comma-separated list of parameters that your method takes.
Used when we need to perform the similar action on various events. Even though you can use it in place of actionSupport as well where the only event is related to only one control.
Please Register to reply to this topic. /