Friday, September 19, 2014

Brand new JSF components in PrimeFaces Extensions

The PrimeFaces Extensions team is glad to announce several new components for the upcoming 3.0.0 main release. Our new committer Francesco Strazzullo gave a "Turbo Boost" for the project and brought at least 6 JSF components which have been successfully intergrated! The current development state is deployet on OpenShift - please look the showcase Below is a short overview about added components with screenshots.

Analog Clock. This is a component similar to digital PrimeFaces Clock, but as an analog variant, enhanced with advanced settings.


Countdown. It simulates a countdown and fires an JSF listener after an customizable interval. You can start, stop and pause the countdown.


DocumentViewer. This is JSF wrapper of Mozilla Foundation project PDF.js - a full HTML PDF reader.


GChart. This is a JSF wrapper of Google Charts API. It's the same chart library used by Google Analytics and other Google services. Please look at Organizational Chart and Geo Chart.


A small note from me: charts can be built completely by model in Java. There is only one GChartModel which allows to add any options you want programmatically. I have used the same approach for my Chart library based on Flotcharts (thinking right now about adding it to the PF Extensions). There is only one generic model with generic setters to set options (options are serialized to JSON then). Advantage: you can export a chart on the server-side, e.g. with PhantomJS. This is a different approach to PrimeFaces' charts where each chart type has a separate model class and hard-coded fix methods for options settings.

Gravatar. This is a component for Gravatar services.


Knob. This is a nice theme-aware component to insert numeric values in a range. It has many settings for visual customization, AJAX listener and more.


Last but not least: we plan to deploy current SNAPSHOTs on the OpenShift in the future. More new components are coming soon. I intend to bring a component called pe:typeahead to the 3.0.0 too. It is based on Twitter's Typeahed. In the next post, I will explain how I have added an excellent WAI ARIA support to this great autocomplete widget. Stay tuned!

8 comments:

  1. Exclusive information. Thanks for sharing. Keep updating your blog.

    ReplyDelete
  2. Excellent work, this release look very good, I love the DocumentViewer and GChart component.

    When you plan to release this version?

    ReplyDelete
  3. Could you please make a DocumentViewer example project (not the showcase). I haven't been able to make it work even reviewing the showcase code. Excellent work!!

    ReplyDelete
    Replies
    1. Can you not clone the git project and review sources? I'm not the creator of this component. You can ask Francesco Strazzullo (link is above).

      Delete
  4. Thanks for your quick response. I'll ask to Francesco.

    ReplyDelete
  5. The DocumentViewer shows in some cases instead of numbers squares inside the pdf. With acrobat the numbers are no squares. Probably a encoding problem of the underlying viewer?

    ReplyDelete
    Replies
    1. Oliver, can you create a bug in our bug tracker or ask in the forum? I'm not the autor of this component. Thanks.

      Delete

Note: Only a member of this blog may post a comment.