Newer Version Available
$SControl
A global merge field type to use when
referencing an existing custom s-control by name. This merge field type results in a URL to a page where the
s-control executes.
Usage
Use dot notation to access an existing s-control by its name.
Example
The following example shows how
to link to an s-control named HelloWorld in a Visualforce page:
1<apex:page>
2<apex:outputLink
3 value="{!$SControl.HelloWorld}">Open the HelloWorld s-control</apex:outputLink>
4</apex:page>Note that if you simply want to
embed an s-control in a page, you can use the <apex:scontrol> tag without the
$SControl merge field. For example:
1<apex:page>
2 <apex:scontrol controlName="HelloWorld" />
3</apex:page>