Standard Controllers
Every database object, both standard and custom, has a standard controller. Its name is simply the name of the object. No Apex code exists for a standard controller. The controller implementation is already provided by Force.com.
Working with a Single Record
By default, the standard controller operates on a single record at a time. It receives this record from the id
parameter in the URL. Try this for yourself by creating a new Visualforce page named MyPage6_3 with the code in Listing 6.3.
<apex:page standardController="Project__c"> The current project is: {!Project__c.Name} <apex:form > <apex:commandButton action="{!edit}" value="Edit ...
Get Development with the Force.com Platform: Building Business Applications in the Cloud, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.