You need to sign in to do that
Don't have an account?

Error During Create an save button
Hi
Interview question: In a visual force page by using standard controller created a save button and one user wants to use that page by using extension and again creats a save button then can we get any error in this situation ? Can anybody answer it for me?
Hello,
I think the question asks what method is called, if 2 methods with the same name(in this case save) are declared both in the standard controller and in an extension.
The answer is the method from the extension- it overrides the same named method from the controller.
So no error would be thrown.
Thanks,
Adrian
All Answers
Hello,
I think the question asks what method is called, if 2 methods with the same name(in this case save) are declared both in the standard controller and in an extension.
The answer is the method from the extension- it overrides the same named method from the controller.
So no error would be thrown.
Thanks,
Adrian
Thanku somuch Adrian