Experience Salesforce
Tabs in Visualforce
What You’ll Learn
- What Is Visualforce Tabs?
Topics
- What is Visualforce in Salesforce?
- Architecture of Visualforce Page
- Standard Controller in Visualforce
- How to create View Page in Visualforce?
- How To Create Edit Page In Visualforce?
- Custom Controller in Salesforce
- Getter, Setter Method Part 1
- Getter, Setter Method Part 2
- Apex Page Message in Visualforce
- Controller Extensions Part 1
- Controller Extensions Part 2
- Using Controller Extension with Custom Controller
- Order of Execution
- Tabs in Visualforce
- System Mode in Visualforce
Tabs in vf page are used to display content like the way standard tabs do. Each tab do consist of its individual section, which is display some content. To create a tab like view, we use <apex:tabPanel> and <apex:tab> tags.
<apex:page>
<apex:tabPanel switchType="client">
<apex:tab label="Tab 1">
<!-- Content for Tab 1 -->
</apex:tab>
<apex:tab label="Tab 2">
<!-- Content for Tab 2 -->
</apex:tab>
<apex:tab label="Tab 3">
<!-- Content for Tab 3 -->
</apex:tab>
</apex:tabPanel>
</apex:page>
Next Topic
Need Extra Support? Our FREE study materials have got you covered.
Our expert-prepared study materials provide the answers you need. Clear your doubts and improve your skills with detailed notes from industry professionals.