Newer Version Available
apex:define
A template component that provides content for an <apex:insert> component defined in a Visualforce template page.
Use this component to get user input for a controller method that does not correspond to a field on an sObject. Only <apex:inputField> and <apex:outputField> can be used with sObject fields.
See also: <apex:composition>, <apex:insert>
Example
The example above renders the following HTML:
Attributes
| Attribute Name | Attribute Type | Description | Required? | API Version | Access |
|---|---|---|---|---|---|
| name | String | The name of the insert component into which the content of this define component should be inserted. | Yes | 10.0 | global |