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>

The example above renders the following HTML:

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
nameStringThe name of the insert component into which the content of this define component should be inserted.Yes10.0global

See Also