Visualforce Development Cookbook(Second Edition)
Keir Bowden更新时间:2021-07-14 10:09:07
最新章节:Logging messages in a Visualforce page封面
版权页
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Conventions
Reader feedback
Customer support
Chapter 1. General Utilities
Introduction
Overriding standard buttons
Data-driven styling
Turning off an action poller
Visualforce in the sidebar
Passing parameters to action methods
Reacting to URL parameters
Passing parameters between Visualforce pages
Opening a pop-up window
Adding a launch page
Testing a custom controller
Testing a controller extension
Chapter 2. Custom Components
Introduction
Passing attributes to components
Updating attributes in component controllers
Passing action methods to components
Data-driven decimal places
The custom iterator component
Setting a value into a controller property
Multiselecting related objects
Notifying the containing page controller
Chapter 3. Capturing Data Using Forms
Introduction
Editing a record in Visualforce
Adding error messages to field inputs
Adding error messages to non-field inputs
Using field sets
Adding a custom lookup to a form
Adding a custom datepicker to a form
Retrieving fields when a lookup is populated
Breaking up forms with action regions
The Please wait spinner
Action chaining
Chapter 4. Managing Records
Introduction
Styling fields as required
Styling table columns as required
Attaching an image to a record
Managing attachments
Maintaining custom settings
Refreshing record details from embedded Visualforce
Using wrapper classes
Changing options based on the user input
Changing page layout based on the user input
Form-based searching
Chapter 5. Managing Multiple Records
Introduction
Editing a record and its parent
Managing a list of records
Converting a lead
Managing a hierarchy of records
Inline editing a record from a list
Creating a Visualforce report
Displaying report data in Visualforce
Loading records asynchronously
Chapter 6. Visualforce Charts
Introduction
Creating a bar chart
Creating a line chart
Customizing a chart
Adding multiple series
Creating a stacked bar chart
Adding a third axis
Embedding a chart in a record view page
Multiple charts per page
Chapter 7. Enhancing the Client with JavaScript
Introduction
Using action functions
Avoiding race conditions
The confirmation dialog
Pressing Enter to submit
The onload handler
Collapsible list elements
Trapping navigation away
Creating a record using JavaScript remoting
Chapter 8. Force.com Sites
Introduction
Creating a site
Record and field access
Retrieving content from Salesforce
Web to lead form
Creating a website template
Adding a header menu to a template
Adding a sidebar to a template
Conditional rendering in templates
Chapter 9. Visualforce in Salesforce1
Introduction
Navigating between pages
Lightning forms
Capturing the user's location
Saving an image when creating a record
Capturing a signature when creating a record
Displaying a location in a map
Scanning the QR code to access the record
Chapter 10. Troubleshooting
Introduction
Avoiding validation errors with action regions
Surfacing errors
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
更新时间:2021-07-14 10:09:07