How to Use Apex:SectionHeader tag in Visualforce Page?
A title bar for a page. In a standard Salesforce page, the title bar is a colored header displayed directly under the tab bar.
This component supports HTML pass-through attributes using the "html-" prefix. Pass-through attributes are attached to the generated container <div> tag.
This tag supports following attributes.
Attribute Name
|
Description
| ||||
description
|
Descriptive text for the page that displays just under the colored title bar.
| ||||
help
|
| ||||
id
|
An identifier that allows the sectionHeader component to be referenced by other components in the page.
| ||||
printUrl
|
The URL for the printable view.
| ||||
|
| ||||
title
|
The text displayed at the top of the colored title bar.
| ||||
subtitle
|
The text displayed just under the main title in the colored title bar.
|
Example:
<apex:page standardController="Opportunity" tabStyle="Opportunity" sidebar="false">
<apex:sectionHeader title="One of Your Opportunities" subtitle="Exciting !"/>
<apex:detail subject="{!opportunity.id}" relatedList="false" title="false"/>
</apex:page>
No comments:
Post a Comment