Jul 08

InputSwitch

InputSwitch is a new addition to the suite, used to provide a boolean value with a switch UI. Component features customizable labels, ajax behaviors and keyboard access. Note that there is already a switch component in PrimeFaces Mobile and we’ll deprecate it in 5.1 in favor of Mobile Renderer for InputSwitch.

Online Demo

Live demo is available at PrimeFaces Showcase.

InputSwitch will be available for Elite-Pro users starting with 5.0.4 and with 5.1 for Community users.

Posted in PrimeFaces | Comments Off
Jun 30

PrimeFaces Elite Hat-Trick Release

Football fever is on and PrimeFaces Elite scores 3 releases. 5.0.3, 4.0.16 and 3.5.27 are now available featuring over 30 enhancements, new Ribbon component, vertical MegaMenu, other handy improvements along with significant maintenance.

Highlights

  • New Ribbon Component for 5.0.3

  • Vertical orientation mode for MegaMenu

  • ColumGroup Support to TreeTable
  • Improvements to Client Side Validation
  • Improvements to PrimeFaces Mobile
  • Enhancements for ExceptionHandler
  • Better IE8 support for some components
  • Improved quality with significant maintenance
  • New rowSelectMode to DataTable and fixes to Dynamic Columns processing

Here is the detailed changelog per version;

New Features

Defect Fixes

Download

Binaries, Sources, API docs and VDL docs are available in PrimeFaces Elite Portal for ELITE and PRO users as an official release bundle.

Roadmap

Next 5.0.4 with 4.0.17 are planned to be released by mid July.

Accessibility enhancements like improved screen reader support, new features to existing components, responsive grid css features and 2 new components are being planned for 5.1 so it is likely that some of those will make it 5.0.x and 4.0.x as well.

Posted in PrimeFaces | Comments Off
Jun 26

New Component: Ribbon

Ribbon is a set of toolbars grouped in different tabs. It first showed up in Microsoft Office products and then found its way to other places in Windows OS as well. Inspired by it, we have created a Ribbon component for PrimeFaces.

Commonly used components like buttons and dropdowns have special styling applied inside ribbon for a unified look. Demo is available at Showcase.

Ribbon will be available starting with 5.0.3 Elite and also for 5.1.

More new stuff are coming soon such as response layout grid css, responsive components, PDF Viewer component and many more. Keep an eye on Prime Blog to keep updated!

Posted in PrimeFaces | 4 Comments
Jun 12

PrimeUI 1.1 Released

PrimeFaces Team is pleased to announce the new release of PrimeUI featuring the new mighty TreeTable, Scrollable DataTable and overall maintenance.

PrimeUI is a pure JS-CSS framework providing 35+ jQuery UI widgets (menus, forms, tabview, accordion, tree, datatable, dialog …) designed to work with REST and JSON. These widgets were created exclusively for PrimeFaces from scratch as a result you can never find them anywhere else. PrimeUI can be used with any web framework like php, asp.net mvc, ruby on rails, spring mvc and more.

PHP Case Study
Pascal Martinez has developed a great example with PHP and PrimeUI.

AngularPrime
Check out the AngularJS integration module called AngularPrime.

Getting Started with PrimeUI
Stephan Rauh has written a nice quick start tutorial for PrimeUI.

Changelog
Full list of changes are available at our issue tracker.

Downloads
1.0 Final Release is available at PrimeUI downloads page.

New Widget
TreeTable is the highlight of 1.1 along with the Scrollable DataTable feature.

Posted in PrimeUI | 1 Comment
Jun 09

PrimeFaces Elite 5.0.2 and 4.0.15 Released

PrimeFaces is refreshed with two new Elite Releases featuring over 20 improvements. There are two handy new features; custom content can now be placed inside paginator and a move ajax callback behavior is provided for dialog. In addition, there are important fixes to DataTable, Tooltip and Client Side Validation improving overall quality.

New Features

Enhancements

Defect Fixes

Download
Binaries, Sources, API docs and VDL docs are available in PrimeFaces Elite Portal for ELITE and PRO users as an official release bundle.

Roadmap
Next 5.0.3 with 4.0.16 are planned to be released by the end of June.

Posted in PrimeFaces | Comments Off
May 30

Custom Content in Paginator

Paginator has a quite flexible layout defined using paginatorTemplate, however since the elements are predefined such as {CurrentPageReport}, {NextPageLink} it is not possible to add custom content in paginator bar. Well, until now.

An upcoming feature enables placing custom elements inside the paginator template and the content of the element is defined as a facet.

<p:dataTable ... paginatorTemplate="{CurrentPageReport} {NextPageLink} ... {MyContent}">
   <f:facet name="{MyContent}">
       //Any content here
   </f:facet>
   //columns
</p:dataTable>

Live example is available demonstrating how to place data exporter icons next to the paginator.

This feature will be available in 5.0.2 and 4.0.15 for Elite&PRO users and 5.1 for community users. In case you cannot wait for 5.1, you can always build 5.1-SNAPSHOT from the open source repository.

Posted in PrimeFaces | 4 Comments
May 26

PrimeFaces Elite 5.0.1 and 4.0.14 Released

PrimeFaces Team is pleased to announce the first Elite release for 5.0.x and the 14th for the 4.0.x. line.

Legacy Widget Namespace

In 4.0, widgetVar.method() usage to access the client side api of a component has been deprecated in favor of PF(‘widgetVar’).show() to keep the window scope clean. It seems not everyone has migrated to PF(‘…’) in 4.x and upon requests of two PRO users, we have added a context parameter to bring window scope back. Please note that PF(‘…’) is always on, following configuration also enables access from window scope as before (widgetVar.method()).

<context-param>
    <param-name>primefaces.LEGACY_WIDGET_NAMESPACE</param-name>
    <param-value>true</param-value>
</context-param>

FileUpload Temporary Files
FileUpload component writes the files to a temporary location which is customizable (java.io.tmpdir by default). However these files were not cleaned periodically until now. As a side note to make sure cleaner thread is closed automatically when the application shuts down, a listener is required. This only applies if you are using commons upload not the native servlet uploader.

<listener>
    <listener-class>org.apache.commons.fileupload.servlet.FileCleanerCleanup</listener-class>
</listener>

Chart API
New additions to Chart API like legendPlacement enables more control over the chart legend positioning. Also negative series colors can now be customized easily.

DataTable Filtering
Filtering is case sensitive in 5.0, due to feedback it is now case insensitive. FilterEvent was also providing wrong information about the filters, it has been corrected as well.

SelectOneMenu Keyboard Highlighter
SelectOneMenu keyboard highlight support was limited, it can only highlight the option using the first letter, for a country dropdown, hitting G key highlights Germany first and quickly pressing R moves to Greece. However in p:selectOneMenu case, highlight moves to Romania. In addition to this, support for non-latin languages like Arabic, Russian, Chinese was missing. Thanks to a PRO user’s sponsorship, p:selectOneMenu behavior for keyboard highlighter is now aligned with basic select element.

ToolbarGroup
ToolbarGroup has been deprecated in favor of left and right facets however a PRO user has more than 300 toolbars in their applications so their log files are filled up with deprecation messages. To support our client, we removed the deprecation notice and decided to support both toolbar group and facets at the same time. You know what they say: “With PrimeFaces PRO, it’s easy to support, tune and add features to PrimeFaces as if it were an in-house framework.”

So these are the highlights, here is the full change log.

New Features

Enhancements

Defects

Download
Binaries, Sources, API docs and VDL docs are available in PrimeFaces Elite Portal for ELITE and PRO users as an official release bundle.

Roadmap
Our plan is to support 4.0.x until the end of 2014 and finish it around 4.0.25. Elite Release cycle is bi-weekly so next 5.0.2 with 4.0.15 is planned to be released in 2nd week of June.

Posted in PrimeFaces | 7 Comments
May 21

PrimeFaces 3.5.26 Released

PrimeFaces Team is pleased to announce the 3.5.26 Elite release. Although support for 3.5.x has been dropped after 3.5.25, we have decided to do one more release due to requests of PRO users, now available to ELITE users as well.

Highlight of the release is performance, jQuery 1.11 update has a significant performance gain over previous 3.5.x also fixes various warnings on webkit browsers.

Download
Binaries, Sources, API docs and VDL docs are available in PrimeFaces Elite Portal for Elite Subscribers as an official release bundle. PrimeFaces PRO Users can access the files from PRO Portal.

Roadmap

Next week, we plan to do the first Elite release of 5.0 which is 5.0.1 along with 4.0.14 to bring improved quality over 4.x and 5.x.

Posted in PrimeFaces | Comments Off
May 19

NextGen Showcase

PF5 is the nextgen version of PrimeFaces and it surely deserves a nextgen showcase as the old one has been outdated for quite some time. New showcase is brand new, created by our good friend and professional designer Cem Altun.

Responsive

Starting from PrimeFaces 5.1, we will focus on improving the responsiveness of the components (e.g. p:panelGrid) depending on the screen size and a responsive showcase is the best way to test the upcoming enhancements.

Embedded Documentation

In addition to source code of the examples, we have embedded the user guide inside the showcase, the documentation tab opens the corresponding page from the user guide. PDF reader works fine right now and we plan to add search functionality to PDF as well using the upcoming pdfReader component in PrimeFaces 5.1.

Search

There is a new search functionality at the left side menu to narrow down the examples based on the search keyword. This is quite useful since there are over 300 demo pages.

Download

Showcase wasn’t versioned or available to download in the past but that is not the case anymore. From now on, after each community release, a tag will be created along with the downloadable war file. Artifacts for the 5.0 showcase is available at downloads page.

So hope you like the new showcase, we know it will take sometime to get used to but we are really happy with it and excited about the nextgen version.

Posted in PrimeFaces | 15 Comments