apex:componentBody

This tag allows a custom component author to define a location where a user can insert content into the custom component. This is especially useful for generating custom iteration components. This component is valid only within an <apex:component> tag, and only a single definition per custom component is allowed.

The example above renders the following HTML:

Attribute NameAttribute TypeDescriptionRequired?API VersionAccess
idStringAn identifier that allows the component to be referenced by other components in the page. 13.0global
renderedBooleanA Boolean value that specifies whether the component is rendered on the page. If not specified, this value defaults to true. 13.0global