Jul 19

PickList on Steroids

PrimeFaces PickList gets two major features for 3.4 release; Filtering and Ajax Transfers.


PickList now supports client side filtering with 4 different match modes, startsWith, contains, endsWidth and custom. If you need custom filtering, you can bind your own javascript function via filterFunction option. Filtering is done on keyup event of an input field placed on top of the lists. This is an extremely useful feature to deal with huge lists.

Ajax Behavior for Transfer

When item(s) are transferred from one side to the other, you can hook-in using the new transfer ajax behavior event, the optional listener gets a TransferEvent containing information about the moved items and direction.


Check out PrimeFaces 3.4 Labs to see these in action!

Posted in PrimeFaces | 12 Comments
Jul 18

PrimeFaces Push Unleashed

Prime Technology, proud sponsor of PrimeFaces, is glad to announce the new Push Framework for PrimeFaces named PrimePush, powered by the great Atmosphere Framework.

We have actually offered two push solutions for JSF in the past, one is an early adoption on atmosphere 2 years ago and other one is the websocket only approach available in PrimeFaces 3.x. Both solutions never reached a mature state and adopted by PrimeFaces Community so we have decided to get back to Atmosphere once again but this time with a major change;

Atmosphere Framework is the de-facto standard of Push Frameworks for Java EE featuring scalability, support for several containers and browsers, utilization of various transports such as websockets, sse, long-polling, streaming and jsonp. It has been widely adopted by many other frameworks and used currently in production including Wall Street Journal (wsj.com) and SmartMoney.com.

Atmosphere is created by Jeanfrancois Arcand, (author of Grizzly and async http client), a top notch developer and one of the few experts in the world regarding real time web applications. We have invited Jeanfrancois as a consultant for a week in Istanbul to help us out, luckily he accepted and travelled all the way from Quebec to Turkey. During the week, except enjoying nice Turkish Cuisine, sightseeing in Istanbul, presenting Atmosphere at a Turkish JUG group event, playing basketball and countless joyful non work related discussions, Jeanfrancois created the architecture and  provided the implementation of PrimePush. He is now a PrimeFaces Committer and we’ll continue working together for future enhancements. It is a great pleasure to work with him.


We have created various new demos to show the PrimeFaces Push and Atmosphere in action;

  • Counter: Shared counter among clients.
  • Chat: Chat sample with dynamic channels and private messaging.
  • Check-in: Real-Time location based push notifications integrated with Maps.
  • ViewParam: Push messages via GET and JSF View param feature.
  • FacesMessage: Sending FacesMessages to subcribers and using Growl for display.
  • TwitterSearch: Realtime twitter search featuring scheduled broadcaster.
  • PhotoShare: Taking a photo with PhotoCam component and send it to every other subscriber.

PrimeFaces Push will be available in upcoming 3.4 release which is due early August.

We would like to take this opportunity to thank Jeanfrancois, he arrived as a consultant and after a week, left as a friend!

Posted in Java | 19 Comments
Jul 04

Brand New Mindmap Component

From wikipedia;

A mind map is a diagram used to represent words, ideas, tasks, or other items related to a central key word or idea. Mind maps are used to generate, visualize, structure, and classify ideas, and as an aid to studying and organizing information, solving problems, making decisions, and writing.

Due to a request of a PrimeFaces PRO user who needs to visualize computer networks, we’ve started working on the new mindmap component. Component is not using a 3rd party mindmap javascript library and created from scratch with JSF programming model in mind using RaphaelJS for rendering.

Notable features are lazy loading of nodes, animations, callbacks such as click-dblclick, customization options and more. There is still some pending work regarding scaling, better support for stupid browsers like IE7-8 support if we manage (IE9 seems ok), boundaries and more.

Checkout the Beta Mindmap at PrimeFaces 3.4 Labs.

Optimus out!

Posted in PrimeFaces | 8 Comments
Jun 20

AutoComplete Textarea

Another good example of how PrimeFaces PRO can provide the features you need in your projects. Upon request of a PrimeFaces PRO user, InputTextarea component is enhanced with a cool AutoComplete feature similar to regular advanced autocomplete component.

Become a PRO user and avoid bugs, request new features, get best practices … Simply get the most out of PrimeFaces!!!

After a certain number of characters (minQueryLength), inputTextarea sends the last word to a completeMethod defined on a backing bean, gets the results back and displays them at caret position. Selecting one of the items via mouse or keyboard inserts selected value to the inputTextarea.

Check out PrimeFaces Labs to see this new feature in action!

Posted in PrimeFaces | 3 Comments
Jun 18

PrimeFaces Themes 1.0.6 Released

Prime Teknoloji is glad to announce the new release of PrimeFaces Themes. This update features minor improvements to themes, adds visual style changes to afterdark theme and the new dark-blue-silver theme called CRUZE inspired by Chevrolet Cruze.

And the resulting theme;

Cruze is now available in PrimeFaces Theme Gallery, check out the live demo!

Hope you enjoy this new theme if you are into dark themes.

P.S. Chevrolet is not sponsoring PrimeFaces, it is just an inspiration of a design. ;)

Posted in PrimeFaces | 5 Comments
Jun 11

PrimeFaces Hat-Trick

Euro 2012 has started and PrimeFaces Ecosystem scores a hat-trick with 3 new releases;

  • PrimeFaces 3.3.1
  • PrimeFaces Mobile 0.9.3
  • PrimeFaces Extensions 0.5.0

PrimeFaces 3.3.1

While heavy PrimeFaces 3.4 development (e.g. charts, mindmap) is in progress, 3.3.1 release brings maintenance over 3.3 release with 10 defect fixes.

PrimeFaces Mobile 0.9.3

0.9.2 was not compatible with PrimeFaces 3.3 so we’ve released 0.9.3 for the compatibility along with some defect fixes reported by PrimeFaces Mobile users. Mobile user’s guide is also updated to 0.9.3. After PrimeFaces 3.4, work on PrimeFaces Mobile 1.0 will begin featuring resource optimizations, ajax view loading, new mobile optimized components like dialog, growl and many other enhancements.

PrimeFaces Extensions 0.5.0

PrimeFaces Extensions team has released the new version of the project featuring new and updated components, enhancements and bug fixes. For more information please see the official announcement and the Prime style cool trailer.

Posted in PrimeFaces | 7 Comments