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
Binu 8Binu 8 

One VF Page contain multiple VF template?

Hi Team,

 I have 3 visual force pages.Those are,
    1. TopBarVF
    2. LeftPanelVF
    3. FooterVF
    
My requirement is to place these 3 VF pages to one VF Page. That will be the main VF page and others like a template.
Is that possible?


Shrikant BagalShrikant Bagal
Hello Binu,

You can try:

<apex:include> tag for this purpose

For more details for this please refer following link:

- https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_compref_include.htm


Advice:

- Why you are not using component instead of VF?

If its helps, please mark as best answer so it will help to other who will serve same problem.
T​hanks! 


 
Binu 8Binu 8
Yes. Actually my requirement is creating components. Could you please help me how to do that? Do you have any tutorial or any
refference link?
Shrikant BagalShrikant Bagal
Hello Binu, 

Please refer following link:

- https://developer.salesforce.com/docs/atlas.en-us.pages.meta/pages/pages_comp_cust.htm


If its helps, please mark as best answer so it will help to other who will serve same problem.
T​hanks!