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

Page Controller not found/recognised

Collective wisdom please!


I have a managed package (say MyPackageName) installed in a dev org, which contains a page controller (say MyPackagedPageController) and i am having 2 problems:



If i try to use the package's page controller for a VF page, it works fine e.g. controller="MyPackageName.MyPackagedPageController".

However, if i try to include an extension in the VF page that is not found in the package (say MyExtension) e.g. extensions="MyExtension",

when i try click on a button on the VF page that is supposed to refresh the page (an apex function returning a page reference) I get the error:"Apex class 'MyPackageName.MyExtension' does not exist"



If i simply try and have a page controller (say MySeparatePageController) for the VF page e.g. controller="MySeparatePageController", I get an error when i just try and save the VF page saying during development simply saying: "Error: Index: 0"


Any thoughts please?!



Message Edited by mt0859 on 06-22-2009 02:33 PM
I am receiving the same type of error, did you ever find a solution?
no, but i have raised a case with salesforce. they haven't been much help so far