Top

Blog

PrimeFaces / Blog (Page 70)

Every JSF component library provides some sort of a date picker component and PrimeFaces is no exception. In fact, PrimeFaces calendar component is based on the well known YUI calendar widget which is equipped with some unique features. Calendar is purely javascript and does not do unnecessary ajax callbacks so it's fast and furious. Calendar has the mode attribute to specify how the datepicker is presented, current modes as of 0.8.3 are "inline" and "popup". Inline Calendar   Popup Calendar   Multiple...

I've written various articles about how to integrate JSF-Spring-JPA-SpringSecurity before which is based on JSF centric annotation based approach, the latest example I've created introduces PrimeFaces to provide rich client features to the stack. Application's name is moviecollector and deployed online at here live for a test run. MovieCollector demonstrates several uses cases of PrimeFaces components like Partial Page Rendering, Excel-PDF data exporter, datatable, autoComplete, dialog and more. Code is also available on subversion repository of PrimeFaces...

PrimeFaces team is proud to announce that UI Components 0.8.3 is released, this release is mainly for maintenance. See the change log at http://primefaces.prime.com.tr/en/changelog. We've upgraded the YUI version 2.7.0 and added various bug fixes. This is the last release of the 0.8.x line, next version would be 0.9.0 and many new features such as flash based fileupload and drag&drop are planned to be shipped with 0.9.0. PrimeFaces UI is marching towards 1.0 which would probably come...

PrimeFaces ships with a rich text editor allowing users to provide HTML text. Editor component is based on YUI editor with PrimeFaces extensions and the underlying javascript widget is of type PrimeFaces.widget.Editor. The simplest example would be;   In addition for Turkish users, Turkish is built-in.   Editor is also skinnable using CSS, following is just an example. For the live examples, checkout the online demo....

It is usually pain to merge two or more component suites in one project. If you've ran into some issues then you know what I'm talking about. One of the design goals of PrimeFaces is the compatibility with other JSF component libraries. For example, RichFaces and PrimeFaces can work together well. Even the ajax integration would work. Both libraries has partial page rendering features, the cool thing is that no known conflict occurs even when using ajax...

PrimeFaces ships with an exporter feature that can export any data presented with a JSF datatable to various formats such as Excel, PDF, CSV and XML. Exporter is implemented as an actionListener so it can be attached to any command component like a button or a command link. Here is a regular JSF datatable;   Export as Excel   Export as PDF   Export as CSV   Export as XML   Exclude Columns Sometime a column may contain delete, detail buttons, checkboxes and other stuff. In such cases these...

Currently PrimeFaces has a monthly release lifecycle, I've just made the march release that contains several improvements, new component and more. This release marks carousel a stable component, adds commandLink, changes the way tooltip and more. In addition optimus 0.7.2 is released which adds CSV and XML export features to any jsf datatable in addition to the Excel and PDF export. See the full changelog here....

During my visit to Turkey, I was invited to do a talk in "Java EE Day" organized by University of Bahcesehir (Istanbul) and CETURK(Computer Engineering Turkiye) Community. My talk was "Introducing PrimeFaces", you can find the slides of my session in PDF format here. And some pictures; ...

PrimeFaces provides an imageCropper component to cut a certain region of an image to create a new one. The cropped part is passed to the bound backing bean value as a CroppedImage object which belongs to PrimeFaces api.  A simple example would be; When the page is rendered, a mask is applied onto the page and it'll look like; ImageCropper is an input component so when the form is submitted, the cropped part is passed to the cropperBean's...

I've released the new versions of two PrimeFaces modules, UI and Optimus. Following is the changelog information. UI Components - 0.8.1 0.8.1 comes with new components and bug fixes, list below contains the significant changes. See the full changelog in csv format. * New component : captcha * New component : effect * New component : resizable * Live chart data display based on ajax polling * Interactive charts with itemSelectEvent * Ajax enabled tab loading for tabView components Optimus - 0.7.1 0.7.1 comes with more...