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 the Job Detail Page

Visitors to your Force Platform site can search for job postings and see them in a list, but you also want them to be able to drill-down to see the details for individual positions. To accomplish this, you need to provide links to positions on the PublicJobs page, as well as create a Job Details page. In this example, by leveraging the functionality built in to the standard controller—for basic operations, such as editing, deleting, cloning, etc.—you only have to code the Visualforce page.

First, create the PublicJobDetails page in Visualforce. Your Visualforce page should look like this:

<apex:page standardController="Position__c" title="Job Details" showHeader="false" standardStylesheets="true"> <!-- The site template ...

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