O'Reilly logo

The Developer’s Guide to the Force.com Platform by Phil Choi, Andrew Fawcett, Glen Martin, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a Controller Extension

Your next step is to create a controller extension to provide the new functionality for the Visualforce page.

The controller extension is an Apex class, which you learned about in the previous two chapters.

1.
Create a new Apex class through clicking on the Setup Develop Apex Classes New button.
2.
Add the following code to begin the creation of your controller extension:
public class positionExtension {

}
The initial ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required