Top

Blog

PrimeFaces / Blog (Page 71)

0.9.0 version of PrimeFaces introduces a new spinner component. Spinner uses increment and decrement buttons to provide a numerical input. Integers In it's simplest form spinner steps by 1 so it's suitable for integer values.   Decimals Floating numbers are also supported using the stepFactor attribute. Following spinner will increment or decrement by 0.25.   Online Demo See the online demo for the examples I've given here in action....

After two months of hard work I finally managed to release the 0.9.0 version of PrimeFaces UI. UI 0.9.0 is a major release containing many new features, improvements and bug fixes. Significant changes of this release are; Major improvements to the Ajax Framework New component : FileUpload (Single-Multiple uploads, progress racking, customizable ui) New component : DynamicImage (Display binary images) New component : FileDownload (Present binary content as downloadable) New component : Spinner (Numeric input) New component : Rating (Star based rating) New component...

PrimeFaces effect component encapsulates jquery effects using the effect component. Basically effect component is nested as a child inside a parent component; For example;   Parent component above is the primefaces panel, when the panel is clicked it explodes, Boooooom! Animation Configuration Effect parameters are supplied via the f:param tags, any number of parameters can be supplied with this way.   Effect Target By default, effects are applied to the parent component, there may be cases where parents are used to trigger animations on...

Last week, I gave a talk titled "RIA with PrimeFaces" in openmic night of javawug London. Although it was a short talk and booed by the Chelsea fans in the attendees:), I really enjoyed it overall. You can find the slides at; http://primefaces.prime.com.tr/docs/ria_with_primefaces.pdf P.S. Thanks for the great hospitality(room and pizzas:) of EMC Conchango....

For the upcoming 0.9.0 PrimeFaces release I've migrated PrimeFaces to use jQuery for Dom manipulation and Ajax purposes. Along the way I've faced an issue where jQuery doesn't play well with the JSF clientIds containing the colon ":" so special characters like this need to be escaped. Following does not work with jQuery and form is effected as well. [crayon-592b31636ac1d213295067/] After spending sometime in jQuery docs and finding a solution, I've added an utility to PrimeFaces core utilities to...

In general, standard JSF components and third party component libraries do not follow the unobstrusive  javascript pattern and embed dom events within the event attributes. So for a simple component like;   The rendered html would be something like this; [crayon-592b31636b136556272427/] I'm really a fan unobstrusive javascript way which enables clean seperation of markup from the behavior. If you check out PrimeFaces, you'll see that most of the components have seperate markup and seperate script, so it leads to a clean...

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....