Book Image

Primefaces Cookbook Second Edition

Book Image

Primefaces Cookbook Second Edition

Overview of this book

Table of Contents (20 chapters)
PrimeFaces Cookbook Second Edition
Credits
Foreword
Foreword
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Introduction


In this chapter, we will cover chart creation with PrimeFaces' extensive charting features and create maps based on Google Maps. PrimeFaces offers basic and advanced charting with its easy-to-use and user-friendly charting infrastructure. Along with basic charting, live updating of chart data and interaction with charts via the AJAX mechanism will also be covered. In version 5.0, chart components were re-implemented in order to overcome limitations. Now, they are more model-driven instead of implementing with component attributes.

Throughout the chapter, we will cover mapping abilities, such as drawing polylines and polygons, and then move on to advanced topics such as handling markers and events and adding information panels and controls on map as overlays.