You need to sign in to do that
Don't have an account?
Dynamic include
Goodday
Is it possible to have a dynamic include statement in a visualforce page (to include another visualforce page) - either with an IF statement,or by specifiying the included page via a variable/parameter?
Secondly, is there any way to embed a PDF in a visualforce page ?
Many thanks in advance
Ross
Hi,
perhaps this helps you:
<apex:composition template="{!MyDynamicPage}"/>
in controller:
public PageReference GetMyDynamicPage(){
if (something)
return Page.Page1;
else
return Page.Page2;
}