ApexPages Namespace

The ApexPages namespace provides classes used in Visualforce controllers.

The following are the classes in the ApexPages namespace.

  • Action Class

    You can use ApexPages.Action to create an action method that you can use in a Visualforce custom controller or controller extension.

  • Component Class

    Represents a dynamic Visualforce component in Apex.

  • IdeaStandardController Class

    IdeaStandardController objects offer Ideas-specific functionality in addition to what is provided by the StandardController.

  • IdeaStandardSetController Class

    IdeaStandardSetController objects offer Ideas-specific functionality in addition to what is provided by the StandardSetController.

  • KnowledgeArticleVersionStandardController Class

    KnowledgeArticleVersionStandardController objects offer article-specific functionality in addition to what is provided by the StandardController.

  • Message Class

    Contains validation errors that occur when the user saves the page that uses a standard controller.

  • StandardController Class

    Use a StandardController when defining an extension for a standard controller.

  • StandardSetController Class

    StandardSetController objects allow you to create list controllers similar to, or as extensions of, the pre-built Visualforce list controllers provided by Salesforce.