售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Visualforce Development Cookbook - Second Edition
Visualforce Development Cookbook - Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
eBooks, discount offers, and more
Why subscribe?
Free access for Packt account holders
Preface
What this book covers
What you need for this book
Who this book is for
Sections
Getting ready
How to do it…
How it works…
There's more…
See also
Conventions
Reader feedback
Customer support
Downloading the example code
Downloading the color images of this book
Errata
Piracy
Questions
1. General Utilities
Introduction
Overriding standard buttons
Getting ready
How to do it...
How it works...
Data-driven styling
How to do it...
How it works...
See also
Turning off an action poller
Getting ready
How to do it...
How it works...
See also
Visualforce in the sidebar
Getting ready
How to do it...
How it works...
There's more...
Passing parameters to action methods
Getting ready
How to do it...
How it works...
Reacting to URL parameters
Getting ready
How to do it...
How it works...
See also
Passing parameters between Visualforce pages
How to do it...
How it works...
See also
Opening a pop-up window
How to do it...
How it works...
See also
Adding a launch page
How to do it...
How it works...
Testing a custom controller
Getting ready
How to do it...
How it works...
See also
Testing a controller extension
How to do it...
How it works...
See also
2. Custom Components
Introduction
Passing attributes to components
How to do it...
How it works...
See also
Updating attributes in component controllers
Getting ready
How to do it...
How it works...
See also
Passing action methods to components
How to do it...
How it works...
There's more...
See also
Data-driven decimal places
How to do it...
How it works...
See also
The custom iterator component
Getting ready
How to do it...
How it works...
Setting a value into a controller property
Getting ready
How to do it...
How it works...
See also
Multiselecting related objects
Getting ready
How to do it...
How it works...
Notifying the containing page controller
Getting ready
How to do it...
How it works...
See also
3. Capturing Data Using Forms
Introduction
Editing a record in Visualforce
Getting ready
How to do it...
How it works...
See also
Adding error messages to field inputs
Getting ready
How to do it...
How it works...
See also
Adding error messages to non-field inputs
Getting ready
How to do it...
How it works...
See also
Using field sets
Getting ready
How to do it...
How it works...
Adding a custom lookup to a form
Getting ready
How to do it...
How it works...
See also
Adding a custom datepicker to a form
Getting ready
How to do it...
How it works...
See also
Retrieving fields when a lookup is populated
Getting ready
How to do it...
How it works...
Breaking up forms with action regions
Getting ready
How to do it...
How it works...
See also
The Please wait spinner
How to do it...
How it works...
Action chaining
Getting ready
How to do it...
How it works...
4. Managing Records
Introduction
Styling fields as required
Getting ready
How to do it...
How it works...
See also
Styling table columns as required
Getting ready
How to do it...
How it works...
See also
Attaching an image to a record
Getting ready
How to do it...
How it works...
There's more...
See also
Managing attachments
Getting ready
How to do it...
How it works...
There's more...
See also
Maintaining custom settings
Getting ready
How to do it...
How it works...
Refreshing record details from embedded Visualforce
Getting ready
How to do it...
How it works...
Using wrapper classes
Getting ready
How to do it...
How it works...
See also
Changing options based on the user input
Getting ready
How to do it...
How it works...
See also
Changing page layout based on the user input
Getting ready
How to do it...
How it works...
See also
Form-based searching
Getting ready
How to do it...
How it works...
See also
5. Managing Multiple Records
Introduction
Editing a record and its parent
Getting ready
How to do it...
How it works...
See also
Managing a list of records
Getting ready
How to do it...
How it works...
See also
Converting a lead
Getting ready
How to do it...
How it works...
There's more...
Managing a hierarchy of records
Getting ready
How to do it...
How it works...
See also
Inline editing a record from a list
Getting ready
How to do it...
How it works...
See also
Creating a Visualforce report
Getting ready
How to do it...
How it works...
Displaying report data in Visualforce
Getting ready
How to do it...
How it works...
Loading records asynchronously
Getting ready
How to do it...
How it works...
6. Visualforce Charts
Introduction
Creating a bar chart
Getting ready
How to do it...
How it works...
See also
Creating a line chart
Getting ready
How to do it...
How it works...
See also
Customizing a chart
Getting ready
How to do it...
How it works...
Adding multiple series
Getting ready
How to do it...
How it works...
See also
Creating a stacked bar chart
Getting ready
How to do it...
How it works...
See also
Adding a third axis
Getting ready
How to do it...
How it works...
See also
Embedding a chart in a record view page
Getting ready
How to do it...
How it works...
Multiple charts per page
Getting ready
How to do it...
How it works...
7. Enhancing the Client with JavaScript
Introduction
Using action functions
Getting ready
How to do it...
How it works...
Avoiding race conditions
Getting ready
How to do it...
How it works...
See also
The confirmation dialog
Getting ready
How to do it...
How it works...
See also
Pressing Enter to submit
Getting ready
How to do it...
How it works...
See also
The onload handler
How to do it...
How it works...
See also
Collapsible list elements
Getting ready
How to do it...
How it works...
Trapping navigation away
Getting ready
How to do it...
How it works...
See also
Creating a record using JavaScript remoting
Getting ready
How to do it...
How it works...
See also
8. Force.com Sites
Introduction
Creating a site
Getting ready
How to do it...
How it works...
See also
Record and field access
Getting ready
How to do it...
How it works...
See also
Retrieving content from Salesforce
Getting ready
How to do it...
How it works...
See also
Web to lead form
Getting ready
How to do it...
How it works...
See also
Creating a website template
Getting ready
How to do it...
How it works...
See also
Adding a header menu to a template
Getting ready
How to do it...
How it works...
See also
Adding a sidebar to a template
Getting ready
How to do it...
How it works...
See also
Conditional rendering in templates
Getting ready...
How to do it...
How it works...
See also
9. Visualforce in Salesforce1
Introduction
Navigating between pages
How to do it...
How it works...
Lightning forms
Getting ready
How to do it...
How it works...
Capturing the user's location
Getting ready
How to do it...
How it works...
Saving an image when creating a record
Getting ready
How to do it...
How it works...
See also
Capturing a signature when creating a record
Getting ready
How to do it...
How it works...
See also
Displaying a location in a map
Getting ready
How to do it...
How it works...
See also
Scanning the QR code to access the record
Getting ready
How to do it...
How it works...
10. Troubleshooting
Introduction
Avoiding validation errors with action regions
Getting ready
How to do it...
How it works...
See also
Surfacing errors
Getting ready
How to do it...
How it works...
See also
Multiple bindings to the same record
Getting ready
How to do it...
How it works...
There's more ...
Reducing view state size 1 - the transient keyword
Getting ready
How to do it...
How it works...
There's more ...
Reducing view state size 2 - HTML vs Visualforce components
Getting ready
How to do it...
How it works...
There's more ...
Debugging Visualforce
How to do it...
How it works...
There's more ...
Logging messages in a Visualforce page
Getting ready
How to do it...
How it works...
There's more
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜