i have two visual force pages and i have to display those two pages in single visual force page, so can we display two pages (standard & custom object)in single visual force page ? i got this question in recent interview. please help me.
closed as too broad by Chris Duncombe, Ratan Paul, Adrian Larson♦, Brian Mansfield, Himanshu Feb 4 '16 at 19:13
Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer. Avoid asking multiple distinct questions at once. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.
You can't include a standard page and visualforce page inside a custom visualforce tab. You can included two visualforce pages inside a single visualforce tab.
<apex:page id="thePage"> <apex:tabPanel switchType="client" selectedTab="name2" id="theTabPanel"> <apex:tab label="One" name="name1" id="tabOne">content for tab one</apex:tab> <apex:tab label="Two" name="name2" id="tabTwo">content for tab two</apex:tab> </apex:tabPanel> </apex:page>
yes you can use
<apex:include> visualforce tab to include another visual force page on one visaul force page. visit following link for more details