Book Image

Learning PrimeFaces Extensions Development

By : Sudheer Jonna
Book Image

Learning PrimeFaces Extensions Development

By: Sudheer Jonna

Overview of this book

Table of Contents (14 chapters)
Learning PrimeFaces Extensions Development
About the Author
About the Reviewers

Working with image components for image manipulation

The PrimeFaces Extensions library provided two image widget components for image manipulations. The ImageAreaSelect and ImageRotateAndResize widget components are used to select a rectangular area of the image and rotate and resize the images with the support of widget functions and events.

Exploring the ImageAreaSelect widget

The ImageAreaSelect widget is used for selecting a rectangular area of the image to support image cropping functionalities in the web user interface.

This component supports customizations with the use of the following attributes:




This defines whether the selection area needs to disappear when the selection ends or not. The default value is false.


This defines the aspect ratio in the width:height string form.


This defines the resized handle's position and existence. The possible values are corners, true (selection area), and false.


This defines whether...