I have a controller extention class and a visulforce page, VF page had a reference to a method call save in the extension class However, I renamed the method and the reference from VF page.
My problem is, when I validate my code with Force.com Migration Tool, it gives the error "...Error: The method System.PageReference Save() is referenced by Visualforce Page (..."
Extension Class's method;
...
public Pagereference Send() {
try {
return doSend();
} catch(Exception e){
ApexPages.Message myMsg = new ApexPages.Message(ApexPages.Severity.FATAL,e.getMessage());
ApexPages.addMessage(myMsg);
}
return null;
}
....
VF Page's reference;
...
<apex:pageBlockButtons location="both">
<apex:commandButton value="Send" action="{!send}"/>
<apex:commandButton value="Cancel" action="{!cancel}"/>
</apex:pageBlockButtons>
...
Error;
Can anyone see what's wrong here? any suggestions?