Associating a Standard Controller with a Visualforce Page

To associate a standard controller with a Visualforce page, use the standardController attribute on the <apex:page> tag and assign it the name of any Salesforce object that can be queried using the Force.com API.

For example, to associate a page with the standard controller for a custom object named MyCustomObject, use the following markup:

<apex:page standardController="MyCustomObject__c">
</apex:page>
Note
When you use the standardController attribute on the <apex:page> tag, you cannot use the controller attribute at the same time.
© Copyright 2000–2014 salesforce.com, inc. All rights reserved.
Various trademarks held by their respective owners.