O'Reilly logo

Visualforce Development Cookbook by Keir Bowden

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

Adding a sidebar to a template

Website content is not always suited to being broken up across a number of pages. A table of contents, while being potentially quite long, may be more usable when displayed on a single page. A sidebar can improve the user experience by providing links to allow the user to rapidly navigate around the lengthy content.

In this recipe, we will create a Visualforce template that provides header and footer content to two other Visualforce pages: a TableOfContents page (containing information about all chapters) and a Chapter1 page (containing detailed information about the first chapter). Each page has a sidebar to assist with navigation through the page content. We will then make these pages available publicly available ...

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