Contents
How to associate a standard controller with a Visualforce page?
To associate a standard controller with a Visualforce page, use the standardController attribute on the tag and assign it the name of any Salesforce object that can be queried using the Lightning Platform API.
How is a standard controller used in Salesforce?
For example, if you use the standard Accounts controller, clicking a Save button in a Visualforce page results in the same behavior as clicking Save on a standard Account edit page. A standard controller exists for every Salesforce object that can be queried using the Lightning Platform API.
What do you need to know about Visualforce?
Visualforce is a framework that helps us to build custom user interfaces (UI) or custom pages. These pages are known as Visualforce pages. Visualforce pages similar to HTML pages are web pages but are specifically designed to be hosted on the Salesforce platform only.
How to use custom controllers in Salesforce VF page?
Visualforce apex:pageblocksection Tag Visualforce apex:commandLink tag Visualforce apex:outputlink tag Visualforce apex:inputfield tag Visualforce apex:inputfile Tag Visualforce apex:inputSecret tag Visualforce apex:inputtextarea tag Visualforce Apex:Column Tag
What is the use of apexpages.standardcontroller?
A standard controller is a class that provides the common operations needed for Create/Read/Update/Delete (CRUD) operations on any standard or custom object. You tie the standard controller in and let it know the type of your object with e.g.:
What do you need to know about apex pageblocksection?
A section of data within an component, similar to a section in a standard Salesforce page layout definition. An component consists of one or more columns, each of which spans two cells: one for a field’s label, and one for its value.
What are the different types of apex controller?
There are two types of controller, one for standard object, another for custom object. In your sample, for standard object account. The standard controller is bound with all fields and some actions on that standard object. In your case, name and save.