You need to sign in to do that
Don't have an account?
lovetolearn
How to reference a standard controller and a custom controller at the same time?
I was wondering how i could ference a standard controller and a custom controller at the same time?
Please Help.
Thanks.
Custom controller and standard controller cannot both be defined on the apex:page component, so you'll have to set up your custom controller as an extension controller.
Luckily there's not too much to do.
Page:
While the controller needs an additional constructor:
All Answers
Read the section of the VF reference called "Custom Controllers and Controller Extensions". Controller Extensions is what you're looking for.
Jeremy
Custom controller and standard controller cannot both be defined on the apex:page component, so you'll have to set up your custom controller as an extension controller.
Luckily there's not too much to do.
Page:
While the controller needs an additional constructor: