Top

Blog

PrimeFaces / Blog (Page 51)

OverlayPanel is a new addition to the PrimeFaces Component Suite. It is a generic panel component that can be displayed on top of other content featuring custom positioning (e.g. my="left top", at="left bottom") relative to a target, custom events and effects. OverlayPanel development is sponsored by an Enterprise PrimeFaces User as it is an important requirement to them and now it is also available to PrimeFaces Community. Check out PrimeFaces Labs to see OverlayPanel in action!...

Lightbox is a popular component in rich web applications to display content in a modal overlay. In jQuery ecosystem, there are tons of 3rd party lightbox plugins and PrimeFaces was also using one of those before. For 3.1, we've decided to take the challenge to write our own javascript widget to use for PrimeFaces. New LightBox is backward compatible in many ways, brings Theme Integration, supports images, any inline content and iframe display with little footprint. See PrimeFaces...

PrimeFaces SelectOneMenu component extends standard selectOneMenu with theme integration, effects and custom content. For 3.1, we've changed the visuals a little bit to make it look like a select tag as before selectOneMenu look was similar to a button. While we are at it, editing support is also added so users can either choose from predefined options or enter their own custom input. Check out PrimeFaces Labs to see improved SelectOneMenu in action!...

Multiple selection feature for PrimeFaces AutoComplete has been a popular request and with 3.1, we've decided to bring it. Initial implementation was based on a simple input text and values were separated with commas but it didn't match the coolness standard of PrimeFaces so we've decided to implement it facebook style. Check out PrimeFaces Labs to see this in action!...

PrimeFaces 3.1 is under heavy development however PrimeFaces Team is not neglecting maintenance. We are glad to announce the 3.0.1 maintenance release. This milestone contains over 25 improvements that are mostly defect fixes over the previous 3.0 release. See the full changelog for the detailed information and visit downloads page to update to the new release. User's Guide As this is a maintenance release, User's Guide hasn't changed and guide of 3.0 also covers 3.0.1. Roadmap There are no more planned...

Accessibility Enhancements in PrimeFaces have begun with adding ARIA(Accessible Rich Internet Applications) support. Initial phase involves adding ARIA roles and attributes to commonly used PrimeFaces components like tabview, accordion, datatable, tree, treeTable, input components and more. Future versions will have improved keyboard support and further accessibility features. Following is an example to make accordion panel more accessible to screen readers. Aria roles and attributes will be available for commonly used components in 3.1 and further versions will get...

FileDownload in PrimeFaces is implemented as a JSF action listener that streams the file to the client, changes the response content type and finishes the JSF request lifecycle at invoke application phase so although the request is a faces request, response is not. One downside of this approach is the monitoring of the filedownload, if the file is big it may take some time so it is better to show some UI to the user while...

Here is a tip to display datatable rows with alternating color. PrimeFaces datatable adds ui-datatable-even and ui-datatable-odd classes during rendering to the rows so it is quite simple to bring in alternating rows. [crayon-594c5cdd010bd537439512/] Also note that you can style specific rows using rowStyleClass attribute. This style is added to PrimeFaces 3.1 that bundles default Aristo theme, for other themes you can easily add this in your projects and if it looks good share it with us :)...

PrimeFaces TabView gets new layouts for the upcoming 3.1 version. In addition to the already available and default "top", we have added bottom, left and right which is configured via orientation attribute. See PrimeFaces Labs to test out this new feature....