Jan 23

TreeTable Sorting

As a result of a PRO user request, sorting feature is now available for TreeTable. Usage is same as datatable via sortBy attribute of columns where sorting happens with respect to children starting from root. Default sorting feature is also provided along with custom sorting via sortFunction.

Demo is available at PrimeFaces 5.0 Labs.

Posted in PrimeFaces | 3 Comments
Jan 20

PrimeFaces ELITE 3.5.23 and 4.0.7 Released

This Elite release cycle brings defect fixes and the DataScroller component to 4.0.x line. DataScroller is a new addition in 5.0 and due to high demand from ELITE and PRO users, we have ported it to 4.0.7 as well.

Common Changes for 3.5.23 and 4.0.7

Only for 3.5.23

Only for 4.0.7

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.

 

Posted in PrimeFaces | Comments Off
Jan 17

New Component – ColumnToggler

ColumnToggler is an upcoming component in 5.0 that is used to show&hide particular columns in a datatable. It can be placed anywhere on the page and uses checkboxes in an overlay.

An optional toggle callback is provided as an ajax behavior to get notified whenever a column is toggled and column component has a new attribute called toggleable to mark if a column should show up in column toggler. This attribute is likely to be false for action columns with buttons.

Demos is available at PrimeFaces 5.0 Labs.

Posted in Uncategorized | 6 Comments
Jan 08

Execute javascript onload

RequestContext provides various utilities such as executing javascript after ajax requests, adding ajax callback parameters, scrolling to a particular component and more. One popular feature request from PrimeFaces community has been the ability to execute javascript on initial page load which is useful to do conditional initialization work. 5.0 provides it same as the ajax case using execute(String script).

RequestContext.getCurrentInstance().execute("initialization script here");

Online demo is available at PrimeFaces Labs.

Keep an eye on this blog for the news about PrimeFaces 5.0!

Posted in PrimeFaces | 4 Comments
Jan 07

New Component – DataScroller

DataScroller is a new addition to PrimeFaces used to implement live-infinite data loading while scrolling. This is a common UI used in popular websites like twitter and facebook.

Notable features are;

  • Customizable scroll target; page or element
  • Loader UI like button instead of scrolling
  • Lazy Loading support
  • Customization options like thresholds.

Demo

Check out PrimeFaces Labs for demos. Note that a brand new showcase is coming up soon!

DataScroller will be available in 5.0 community and in an 4.0.x release for Elite Subscribers soon as well.

Posted in PrimeFaces | 4 Comments
Jan 06

PrimeFaces 4.0.6 and 3.5.22 Released

PrimeFaces Team is glad to start the new year with a new Elite Release !!! 5.0 is under heavy development and Elite Releases will keep coming for ELITE&PRO subscribers.

Defect Fixes

New Features

Enhancements

Changleogs
See detailed changelogs of 3.5.22 and 4.0.6 for more information.

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.

Posted in PrimeFaces | Comments Off
Dec 18

PrimeFaces 5.0 Roadmap

PrimeFaces 4 has been released and Elite Releases to support 3.5 and 4.0 keep coming. In parallel the next major version has been initiated for heavy duty development.

That is PrimeFaces 5.

PrimeFaces Mobile

We’ve decided to merge PrimeFaces Mobile back into core as having a separate library is causing compatibility issues with core. There will also be important changes in page definition, since Mobile hasn’t reached 1.0, it is a good time to finalize APIs.

PrimeFaces Push

As we’ve announced before, thanks to the partnership between PrimeTek and AsyncIO, the company behind Atmosphere, PrimeFaces Push is greatly enhanced for 5.0.

PrimeFaces 5.0 will ship with a new component model supported by annotation, and CDI compatible (or Spring or Guice!). PrimeFaces 5.0 will require Atmosphere 2.1.x in order to be able to supports new annotations and replace the default Atmosphere’s ObjectFactory.

The original Prime Push components didn’t expose any component model to an application. All POST messages where delivered directly to the remote client without giving a chance to the application to manipulate the message. An application that wanted to manipulate the message needed to implements Atmosphere’s API, which is complicated and requires depth knowledge of Atmosphere. The new implementation will make it much more easier for a developper to implements powerful push components. Read more about this model for detailed information.

New Components

As usual, 5.0 will bring new components to the suite like;

  • DataScroller for Infinite Scrolling used to load more items when the window or a specific element is scrolled down. Lazy loading is also supported.
  • Cache component caches the output of the children to speed up page load, various cache providers like EHCache and Hazelcast are supported.
  • Spotlight highlights a specific page fragment and blocks key-mouse events.
  • … more

Component Features

Various components will get important new features, most of these are sponsored by PrimeFaces PRO users. Some of these enhancements include frozen columns for datatable, customizable filters, treetable sorting and many more.

Maintenance

Maintenance is handled by PrimeFaces Elite, we’ll keep providing Elite releases for 3.5.x and 4.0.x whose fixes would be merged from 5.0. Elite guarantees high quality.

New Showcase

A brand new showcase will be available in January, it will receive a major facelift.

When

5.0 is planned to be finished by Mid Spring 2014. We are really pumped up for 5.0 and started working day&night. Some of the features described here are already implemented. 5.0 will be licensed under Apache License and will be freely available for everyone.

!!!Always bet on Prime!!!

Posted in JSF | 13 Comments
Dec 16

PrimeFaces ELITE 4.0.5 and 3.5.21 Released

PrimeFaces Team is pleased to announce the new upgrades for 4.0.x and 3.5.x lines.

Common for 4.0.5 and 3.5.1

4.0.5 Only

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.

4.1 Roadmap

Heavy duty development for PrimeFaces 4.1 has officially started after the short break PrimeFaces Team took and we’ll announce the roadmap this week, exciting times ahead!

Posted in PrimeFaces | 7 Comments