Stable Release
6.1
Released 19 Apr 2017
(9 years ago)
SoftwarePrimeFaces
Version6.1
Initial release6.1
19 Apr 2017
(9 years ago)
Latest release6.1
19 Apr 2017
(9 years ago)
Release noteshttps://github.com/primefaces/primefaces/releases/tag/6.1
Source codehttps://github.com/primefaces/primefaces/tree/6.1-RELEASE
Documentationhttps://javadoc.io/doc/org.primefaces/primefaces/6.1/index.html
Downloadhttps://mvnrepository.com/artifact/org.primefaces/primefaces/6.1
PrimeFaces 6.1 ReleasesView full list

What Is New in PrimeFaces 6.1

PrimeFaces 6.1 is a feature-packed update focused on component enhancements, new functionality, and bug fixes. This release strengthens the framework with new input components and major improvements to existing ones.

Category Count Highlights
New Features 6 TriStateCheckbox, InputGroup, Keyboard, Badge, Dock, Terminal
Improvements 25 DataTable, TreeTable, Schedule, Charts, Dialog Framework
Bug Fixes 135 Across various components and core functionality

What new components were introduced?

Six new components were added to the library, expanding the UI toolkit for developers. These components provide solutions for common interface patterns and user interactions.

TriStateCheckbox

This component introduces a third state beyond the standard checked and unchecked. It's perfect for scenarios where a null or indeterminate value is a valid option, like in hierarchical selections.

InputGroup

InputGroup allows you to easily add text, buttons, or other content alongside an input field. It simplifies creating common patterns like search boxes with a button or input fields with currency symbols.

Keyboard

The Keyboard component provides an on-screen virtual keyboard. This is useful for touch-enabled kiosk applications or for ensuring data integrity on forms where a physical keyboard might be disabled.

How was DataTable improved?

DataTable received significant performance and functionality upgrades. These changes make handling large datasets and complex user interactions much smoother.

The row expansion feature was optimized to be more efficient, reducing rendering time for tables with expandable content. The cell editing functionality was also enhanced for a more reliable inline editing experience.

In practice, these improvements mean your data-heavy applications will feel more responsive. The reduced overhead in row expansion is a big win for maintaining performance with complex row content.

What enhancements were made to the Dialog Framework?

The Dialog Framework got smarter about handling dynamic content and options. You now have more control over how dialogs behave and communicate with their parent windows.

A key addition is the dialogReturn event, which provides a clean way to pass data back from a dialog to the opener window. The framework also better supports passing parameters that can be evaluated as expressions, not just literal strings.

This matters because it simplifies the architecture of parent-child window communication. You can now build more complex workflows with dialogs without resorting to workarounds.

Were there any changes to Charts?

Yes, the Chart components received updates for better integration and extended features. The changes ensure charts work seamlessly with other PrimeFaces components and offer more customization.

Axis label rotation was improved for better readability, especially with long text labels. The chart components were also updated to be more compatible with PrimeFaces AJAX updates, preventing common rendering issues.

These are practical fixes that address real-world problems developers face when building dashboards. The improved label rotation alone makes a big difference in data presentation.

FAQ

Is the InputGroup component a replacement for InputText?
No, it's a complementary component. You use InputGroup as a container to wrap an existing InputText (or other input component) along with add-ons like buttons or text.

Does the new TriStateCheckbox work with standard form submission?
Yes, it integrates seamlessly with the JSF lifecycle. The three states typically map to true, false, and null values that are correctly processed during form submission.

What was the main focus of the 135 bug fixes?
The fixes addressed a wide range of issues, but many focused on AJAX behavior, component rendering lifecycle problems, and specific issues with complex components like DataTable and TreeTable.

Can the Keyboard component be used with any input?
Yes, it can be attached to any standard input component. You can configure it to pop up automatically when the input gains focus, which is ideal for touchscreen applications.

Were any components deprecated in 6.1?
The release notes do not mention any deprecations. This version appears to be additive, introducing new components and improving existing ones without removing functionality.

Releases In Branch 6.1

VersionRelease date
6.119 Apr 2017
(9 years ago)