Adding a Related Detail View to a Visualforce Page

You can modify your Visualforce page to display the detail information on the same page. You already know that you can use a single detail tag to bring up detail information, so you only have to learn how to summon that information to your current Visualforce page.

The outputLink component you used in the previous section simply created a link in your page that directed the user to another page. In order to get additional information to display on the same page, you must change the page specification a little bit.

The apex:command components, when activated by a user, submits the current page to the Force Platform server, and returns a new version of the page to the user.

Note

Submitting a ...

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.