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

Displaying Positions

The first page of your wizard displays the Positions records retrieved by the SOQL statement you just created in your custom controller. Since you have had some experience defining Visualforce pages already, you will recognize almost everything in the code for this page:

<apex:page controller="customController"> <apex:sectionHeader title="Interview Scheduler" subtitle="Step 1 of 3 - Select Position"/> <apex:form > <apex:pageBlock mode="edit"> <apex:pageBlockSection columns="1"> <apex:pageBlockSectionItem > <apex:outputLabel value="Select an open position: " for="openPositionList"/> <apex:selectList value="{!selectedPosition.ID}" id="openPositionList" size="1"> <apex:selectOptions value="{!openPositionList}"/> </apex:selectList> ...

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