InterviewSolution
Saved Bookmarks
| 1. |
What Identifies A Controller As Being An Extension? |
|
Answer» The CONTROLLER MUST declare a constructor which takes another controller EXPLICITLY. For EXAMPLE: public myControllerExtension(ApexPages.StandardController stdController) { this.acct = (Account)stdController.getRecord(); } The controller must declare a constructor which takes another controller explicitly. For example: public myControllerExtension(ApexPages.StandardController stdController) { this.acct = (Account)stdController.getRecord(); } |
|