Component Class

Represents a dynamic Visualforce component in Apex.

ApexPages

The following are properties for Component.

  • childComponents

    Returns a reference to the child components for the component.

  • expressions

    Sets the content of an attribute using the expression language notation. The notation for this is expressions.name_of_attribute.

  • facets

    Sets the content of a facet to a dynamic component. The notation is facet.name_of_facet.

Returns a reference to the child components for the component.

public List <ApexPages.Component> childComponents {get; set;}

Type: List<ApexPages.Component>

Sets the content of an attribute using the expression language notation. The notation for this is expressions.name_of_attribute.

public String expressions {get; set;}

Type: String

Sets the content of a facet to a dynamic component. The notation is facet.name_of_facet.

public String facets {get; set;}

Type: String

This property is only accessible by components that support facets.