Please post one example..
The above code is an example.
What happens if MainPage is attached to a specific controller e.g, <apex:page standardController="Account>.How do you pass the correct Account Id to the MainPage if the Primary Page is a stand alone page?
Add extensions="Class_Name" for populating account id.http://www.infallibletechie.com/2013/10/how-to-get-record-id-from-standard.htmlCheers!
Where would you add the extension?In the main page, or the primary page?
Thanks! Very helpful!
If both the pages are of different standand controller objects and have different extensions.so can we call one visual force page data into another visual force page.For Example : I have a managed package installed in sandbox.Which has Visual force page created on opportunity object.I have created a custom visual force page in a PDF format on Quote object .So can get data of visual force page displayed in a custom visual force page in a PDF format.If yes,can u help me out with an example.Any suggestion plz.