Dec 18

Steps Component

Suppose you have created a multi-page workflow (e.g. with Faces Flows API or similar) and need a UI to display the steps at the top of the page. Steps component is created for this purpose, it takes a collection of menuitems that can be defined declaratively or programmatically with a MenuModel. By default, steps are readonly and not clickable, in case you want to allow user to switch using the steps, setting readonly to false enables clickable menuitems. Last but not least, component is responsive and also highly customizable using CSS.

Note that this component is very different from the wizard component, wizard implements a workflow itself on a single page. Steps is an indicator for a multi-page workflow.

Steps will be available at 5.1.7 next week and also 5.2. Check out live demo to see this new component in action.

Posted in PrimeFaces | Comments Off
Dec 16

PrimeFaces ELITE 5.0.15 Released

PrimeFaces 5.0.x branch is updated with the enhancements from the upcoming 5.2.

New Features and 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.

Posted in PrimeFaces | Comments Off
Dec 08

PrimeFaces Elite 5.1.6 Released

PrimeFaces 5.1.6 Elite releases focuses on maintenance and brings over 20 improvements.

New Features and 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.

Posted in PrimeFaces | Comments Off
Dec 01

PrimeFaces Elite 5.0.14 Released

PrimeFaces 5.0.x line is updated with a new Elite version that brings the recent enhancements from 5.1.x. Most notable improvement is the hidden container support features mentioned here.

New Features and 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.

 

Posted in PrimeFaces | Comments Off
Nov 25

PrimeFaces Elite 5.1.5 Releaed

PrimeFaces 5.1.5 is the new update for 5.1.x series bringing 18 filed improvements. There are couple of highly requested features along with the planned maintenance.

Dynamic Columns for TreeTable

Just like DataTable, TreeTable now supports dynamic columns via p:columns.

Static p:column and Dynamic p:columns can be used together and sorting is also supported using a dynamic column. Live demo is available at PrimeFaces Showcase.

Ajax Events for OrderList

Due to popular community demand, we’ve added 3 events to OrderList component to bring the flexibility of callbacks. These are;

  • select
  • unselect
  • reorder
Check out the live demo to see this in action.

New Features and 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.

Posted in PrimeFaces | Comments Off
Nov 21

Dynamic Columns For TreeTable

Nowadays we are implementing the most requested features by the PrimeFaces Community, one hot request was dynamic columns support for TreeTable via p:columns just like DataTable has.

Static p:column and Dynamic p:columns can be used together and sorting is also supported using a dynamic column. Live demo is available at PrimeFaces Showcase.

This enhancement is coming up next week to Elite and PRO users via 5.1.5 and to community users in 5.2.

Posted in PrimeFaces | Comments Off
Nov 20

Shared OverlayPanel

OverlayPanel is positioned relative to its target based on a one-to-one relationship, this causes limitations when used inside a data iteration because every row needs an overlaypanel which is far from ideal, requires client side memory and slows down page performance.

Since Elite 5.1.3, OverlayPanel can be shared just like a Dialog. Assume you have buttons on each datatable row and clicking this button displays the details in an overlayPanel displayed next to the button. Trick is to call the show() method by passing the client id of the caller. Live Demo is available at Showcase.

Posted in PrimeFaces | 3 Comments
Nov 18

OrderList Events

Due to popular community demand, we’ve added 3 events to OrderList component to bring the flexibility of callbacks. These are;

  • select
  • unselect
  • reorder

Usage is simple, in case you’d like to get notified whenever one of these events occur, hook-in via p:ajax;

<p:orderList value="#{orderListView.cities}" var="city" controlsLocation="none" itemLabel="#{city}" itemValue="#{city}">
        <p:ajax event="select" listener="#{orderListView.onSelect}" update="msgs"/>
        <p:ajax event="unselect" listener="#{orderListView.onUnselect}" update="msgs"/>
        <p:ajax event="reorder" listener="#{orderListView.onReorder}" update="msgs"/>
</p:orderList>
public void onSelect(SelectEvent event) {
        FacesContext context = FacesContext.getCurrentInstance();
        context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "Item Selected", event.getObject().toString()));
    }

    public void onUnselect(UnselectEvent event) {
        FacesContext context = FacesContext.getCurrentInstance();
        context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "Item Unselected", event.getObject().toString()));
    }

    public void onReorder() {
        FacesContext context = FacesContext.getCurrentInstance();
        context.addMessage(null, new FacesMessage(FacesMessage.SEVERITY_INFO, "List Reordered", null));
    }

These events are coming soon for 5.1.5, check out the live demo to see it in action.

Posted in Java | 2 Comments
Nov 17

PrimeFaces Elite Triple Release

PrimeFaces Elite versions are updated with 3 new releases; 5.1.4, 5.0.13 and 4.0.24. Highlight of this release cycle is the major improvement for the hidden container support which has been an ongoing limitation in the past.

Hidden Container Support

The problem is well described at here along with our first solution which turned out to be limitations with the nested containers and initialization time mismatch. For 5.1.4, we’ve taken another approach and we’re glad to announce that new implementation solves all the cases we can think of. In the past, page authors had to initialize the widgets manually which is tricky most of the time, starting with 5.1.4, everything should just work.

Paginator for Mobile DataList

There is an ongoing effort in PrimeFaces Mobile, we’ve recently added a DataTable and DataGrid renderer and with 5.1.4, DataList also gets a paginator and lazy loading.

Here are the changelog for each version;

5.1.4

New Features and Enhancements

Defect Fixes

5.0.13

New Features and Enhancements

Defect Fixes

4.0.24

New Features and 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

4.0.24 is the last release for the 4.0.x line, it has been over a year since 4.0 and support is now discontinued. 5.0.x will be supported until the end of 2014. We strongly suggest upgrading to latest 5.1.x release to get the best PrimeFaces Experience.

Posted in PrimeFaces | Comments Off