function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
saharisahari 

How can we display a vf page inside content of a tab?

Hi guys,

 

I have a requirement, I need to display a vf page inside the content of a tab?

Any ideas as to how to achieve this?

 

Thanks in advance.

SSRS2SSRS2

 Are you expecting VF page shown as a tab, then follow the following steps

 

  setup -> App Setup -> create -> tab -> Visualforce Tabs -> New

and select the page you need show as a tab and proceed steps.

 

-Suresh

 

saharisahari

I dont mean that way. I am having a vf page which has tab panel and some tabs. and within one of those tabs i want to display another vf page..

 

Anyways thanks for the response

SSRS2SSRS2

Use VF Include component

<apex:include pageName="yourVFPageName"/>

-Suresh

mtbclimbermtbclimber

Unless you really need the content to be a page you can also factor it as a custom component which you can then reference. The advantage is the ability to create typed attributes in the event you need to pass info to the page.