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

how to include one visual force page with in another both have different standard controller

Hi all,
 I have one page with standardController Event and I want to reuse the page and I include the page in to another one and the outer page has standard controller 'Account'. While I run the page I got vf exception '​Id value 001e000000HjsC5 is not valid for the Event standard controller '

If you have any idea please reply
Thanks in Advance 
Anju G 
You can move the features you like to a different page with a Custom Controller and maybe use <apex:composition, <apex:insert tag and <apex:define tags (for templating) and you can resune the page you like in any other visualforce page.

More can be found below -