Chapter 10. Troubleshooting

In this chapter, we will cover the following topics and recipes:

  • Avoiding validation errors with action regions
  • Errors – harmful if swallowed
  • Multiple bindings to the same record
  • Reducing view state size 1 – the transient keyword
  • Reducing view state size 2 – HTML vs Visualforce components
  • Debugging Visualforce
  • Logging messages in a Visualforce page

Introduction

Visualforce pages provide a custom interface for users, improving productivity by reducing the number of forms required to create and maintain data compared to the standard user interface, and improving adoption. Non-performant or error-prone Visualforce pages can have the opposite effect, making the user experience frustrating and introducing a Visualforce tax on regular ...

Get Visualforce Development Cookbook - Second Edition 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.