售 价:¥
温馨提示:数字商品不支持退换货,不提供源文件,不支持导出打印
为你推荐
Visualforce Development Cookbook
Table of Contents
Visualforce Development Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Support files, eBooks, discount offers and more
Why Subscribe?
Free Access for Packt account holders
Instant Updates on New Packt Books
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Reader feedback
Customer support
Downloading the example code
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 nonfield 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…
Avoiding validation errors with action regions
Getting ready
How to do it…
How it works…
See also
Action chaining
Getting ready
How to do it…
How it works…
Errors – harmful if swallowed
Getting ready
How to do it…
How it works…
See also
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
Preventing duplicates by searching before creating
Getting ready
How to do it…
How it works…
See also
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…
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. 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
Tooltips
Getting ready
How to do it…
How it works…
See also
The character counter
Getting ready
How to do it…
How it works…
The onload handler
How to do it…
How it works…
See also
Collapsible list elements
Getting ready
How to do it…
How it works…
See also
The scrolling news ticker
Getting ready
How to do it…
How it works…
There's more...
See also
Carousel messages
Getting ready
How to do it…
How it works…
See also
Hiding buttons on submit
Getting ready
How to do it…
How it works…
See also
Client-side validation
Getting ready
How to do it…
How it works…
See also
Trapping navigation away
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. jQuery Mobile
Introduction
Mobilizing a Visualforce page
Getting ready
How to do it…
How it works…
See also
Navigation and transitions
How to do it…
How it works…
See also
Adding a navigation bar
How to do it…
How it works…
See also
Working with dialogs
How to do it…
How it works…
See also
Listing records
How to do it…
How it works…
See also
Mobile Visualforce forms
Getting ready
How to do it…
How it works…
See also
Redirecting to the mobile page based on the browser
Getting ready
How to do it…
How it works…
See also
Storing the user's location
Getting ready
How to do it…
How it works…
See also
Scanning the QR code to access the page
Getting ready
How to do it…
How it works…
See also
Index
买过这本书的人还买过
读了这本书的人还在读
同类图书排行榜