万本电子书0元读

万本电子书0元读

顶部广告

Visualforce Development Cookbook - Second Edition电子书

售       价:¥

45人正在读 | 0人评论 9.8

作       者:Keir Bowden

出  版  社:Packt Publishing

出版时间:2016-08-01

字       数:165.2万

所属分类: 进口书 > 外文原版书 > 电脑/网络

温馨提示:此类商品不支持退换货,不支持下载打印

为你推荐

  • 读书简介
  • 目录
  • 累计评论(0条)
  • 读书简介
  • 目录
  • 累计评论(0条)
Discover over 70 real-world examples to overcome the most complex concepts you will face developing with Visualforce About This Book This book provides an enhanced user experience with dynamically-generated, reactive pages Access data over additional channels via public web sites and mobile pages Packed with easy-to-follow recipes, including step-by-step instructions and Apex/Visualforce code downloads this title is the all in one package you need to get more from Visualforce. Who This Book Is For This book will be beneficial to developers who are already well-versed with the basics of Visualforce. An awareness of the standard component library and the purpose of controllers is expected. What You Will Learn Pass parameters between Visualforce pages Update attributes in component controllers Avoid validation errors with action regions Refresh record details from embedded Visualforce Create and develop a website template from scratch Get to know about the Salesforce Lightening Design system and use Visualforce in Salesforce1 Effectively tackle frequently-faced problems while developing Visualforce pages In Detail Visualforce is a framework that allows developers to build sophisticated, custom user interfaces that can be hosted natively on the Force.com platform. The Visualforce framework includes a tag-based markup language, similar to HTML that is used to write the Visualforce pages and a set of controllers that are used to write business logic to the Visualforce pages. Visualforce Development Cookbook provides solutions to a variety of challenges faced by Salesforce developers and demonstrates how easy it is to build rich, interactive pages using Visualforce. Whether you are looking to make a minor addition to the standard page functionality or override it completely, this book will provide you with the help you require throughout. You will start by learning about the simple utilities and will build up to more advanced techniques for data visualization and to reuse functionality. You will learn how to perform various tasks such as creating multiple records from a single page, visualizing data as charts, using JavaScript to enhance client-side functionality, building a public website, and making data available to a mobile device. With an interesting chapter on tackling common issues faced while developing Visualforce pages, the book provides lots of practical examples to enhance and extend your Salesforce user interface. Style and approach Following a cookbook structure, the book provides recipes on some essential technical scenarios and a few that focus on real-world development problems. This book is packed with illustrations and contains lots of code samples to improve your understanding.
目录展开

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

累计评论(0条) 0个书友正在讨论这本书 发表评论

发表评论

发表评论,分享你的想法吧!

买过这本书的人还买过

读了这本书的人还在读

回顶部