Common utility components, functions, and their features
Common utility components are used to solve problems occurring in daily development and make development easier during the development of JSF or the PrimeFaces application. Among these components, JavaScript client behaviors, which is used to catch the events, converters to work with JSON and locale conversions, and common functions and utilities for regular development activities, will be considered as a part of the common utility components.
Exploring the ClientBehaviour components
Client behaviors are used to catch events with JavaScript without making any Ajax request. When the functionality requires only the client-side JavaScript execution without any required server interaction, then the pe:javascript
component is really useful.
Tip
If you use this client behavior for the functionalities that depend on Ajax calls, then it will destroy the main functionality. So, you have to use this component only for the particular components and...