Nov 26

PrimeFaces Clock Component

Upon request of a PrimeFaces PRO user who needs to display server time with live updates we have added a clock component to PrimeFaces. Clock has two modes, client mode is the default mode to display clock purely on client side and server mode sets the initial datetime as the server’s. Java DateFormat is supported as well so you’ll be able to use this well known format on client side as we are using a javascript port. Finally advanced autoSync feature can sync the server datetime with client to prevent out of sync problems in server mode.

Clock Demo is available at PrimeFaces 3.5 Labs.

Posted in JSF | 5 Comments
Nov 23

PrimeUI Fieldset Widget

Fieldset component from PrimeFaces is also now available for PrimeUI. This widget can take an ordinary fieldset element and provide a content toggle feature along with regular css renovation for a better look.

$('#default').puifieldset();

<fieldset id="default">
   <legend>Title</legend>
   Content
</fieldset>

Demo is available at PrimeUI homepage, the widget will be available in next week’s 0.3 release along with Panel widget.

Posted in PrimeUI | 3 Comments
Nov 19

DataTable Cell Editing

These days we are busy with implementing the feature requests from our PrimeFaces PRO users. One such request is inline cell editing similar to excel. Inline row editing is a popular feature of PrimeFaces as it enables to modify data easily, cell editing is similar to this but is enabled by double clicking on a cell. A cell is saved instantly on blur or enter key events. Optional cellEdit event is provided as an ajax behavior to do processing of old-new values on bean side, context menu support is enabled as well for right click options.

Demo is available at PrimeFaces Labs. At the moment, this is a work in progress and we have more work todo before finalizing like multi component support and better visualization of validation errors.

There are many sponsored features for 3.5, keep an eye on this blog for the upcoming goodies.

Posted in JSF | 16 Comments
Nov 19

Growl joins PrimeUI

Growl is a popular component in PrimeFaces that is used to display notifications in an overlay and we’ve also ported our growl to PrimeUI as a widget.

//initialize
$('#default').puigrowl();

//show messages
$('#default').puigrowl('show', [{severity: 'info', summary: 'Message Summary', detail: 'Message Detail'}]);

<div id="default /">

Online Demo

Demo is available at PrimeUI homepage, the widget will be available in next week’s 0.2 release.

Posted in PrimeUI | Comments Off
Nov 16

Multi Column Sorting

With PrimeFaces PRO, it’s easy to support, tune and add features to PrimeFaces as if it were an in-house framework. Here is another recent example;

Upon request of a PrimeFaces PRO user, we have added Multi Column Sorting. If metakey like ctrl or command is pressed while a column header is clicked, data is sorted according to multiple order. Dynamic Columns are also supported as well with or without LazyDataModel.

Online Demo is available at PrimeFaces Labs.

Posted in PrimeFaces | 2 Comments
Nov 15

Prime-UI Rises

PrimeUI is a spin-off project from the PrimeFaces project and features pure Javascript Components designed for progressive enhancement, Rest and Json.

Version 0.1 is the first release consisting of 6 widgets;

  • Accordion
  • Inputtext
  • Inputtextarea
  • Spinner
  • Rating
  • TabView

PrimeUI uses jQuery UI Widget Factory so can be used with any web framework, although some widgets like accordion, tabview overlaps with existing jQuery UI widgets, PrimeUI provides additional functionality that are not available in default jQuery UI widgets like orientations for TabView and multiple selection for Accordion.

Demo

PrimeUI project site, documentation and online demo is combined at one application and available at;

http://www.primefaces.org/prime-ui

Download

Prime-UI can be downloaded as a bundle that contains sources, minified-combined css and javascript files.

Source

Source is licensed under Apache and available at PrimeFaces Repo.

Roadmap

Now the initial release is out, we aim to make bi-weekly releases with new widgets in each version. Future widgets are various types of menus, growl, lightbox, datatable, more form components, tree, treeTable and many more.

Idea of PrimeUI is to contribute back to jQuery ecosystem, in PrimeFaces although we have many homegrown javascript widgets used by components, we also use 3rd party widgets as well, so with PrimeUI we aim not to compete with other javascript libraries but complement them by providing a new set of compatible widgets.

Our main focus is still PrimeFaces as it is the Flagship.

Posted in PrimeUI | 14 Comments
Nov 13

PrimeFaces 3.4.2 Released

PrimeFaces 3.4 is back with a new maintenance release while 3.5 and Mobile 1.0 along with PrimeUI are under heavy development. 3.4.2 is a maintenance release featuring over 30 improvements.

  • Defect Fixes
  • Accessibility Improvements
  • XSS Fixes
  • Update to jQuery 1.8.2
  • Performance Improvements

Full changelog is available for detailed list of enhancements.

See downloads page to get the new release.

Posted in JSF | 8 Comments