$Page

A global merge field type to use when referencing a Visualforce page.

Usage

Use this expression in a Visualforce page to link to another Visualforce page.

Example

<apex:page>
  <h1>Linked</h1>
  <apex:outputLink value="{!$Page.otherPage}">
    This is a link to another page.
  </apex:outputLink>
</apex:page>
Previous
Next