May 21

PrimeFaces 3.3.RC1 Released

Prime Teknoloji is glad to announce the release candidate of the PrimeFaces 3.3. This release brings over 100 improvements, Ajax Framework features such as PFS(PrimeFaces Selectors) and partialSubmit, internal enhancements, new components, major maintenance and much more. Full changelog is available at PrimeFaces issue tracker.

Highlights

Maintenance

We’ve done a lot of internal improvements and refactoring for 3.3. Overall quality has been significantly improved with various bug fixes and refactoring. It is advised to upgrade to 3.3 considering the list of defect fixes.

Backward Compatibility

  • Scrollable datatable now requires the column width to be defined via width attribute of column instead of style attribute.
  • tiered and sliding type menus have their own components, name tieredMenu and slideMenu.
  • readOnlyInpuText attribute of calendar is renamed to readOnlyInput.
  • Menu component’s position attribute is renamed to overlay as a boolean.

Download

Please visit PrimeFaces Downloads page to try out the new release.

Roadmap

Release Candidate will be available for one week and on 28th PrimeFaces 3.3. Final will be available along with the updated User’s Guide.

Posted in Uncategorized | 8 Comments
May 18

New Component: OutputLabel

We are currently working on latest bits of the maintenance work before PrimeFaces 3.3.RC1 release so focused on bug fixes instead of new features but there is one feature we couldn’t resist to add called PrimeFaces OutputLabel. It extends standard outputLabel with various features. The sources of the feedback for this component are our own ideas plus pe:requiredLabel component that belongs to PrimeFaces Extensions project.

  • OutputLabel sets its value as the label of the target component to be displayed in validation errors so that target component does not need to define label attribute again.
  • Support for components with non-trivial markup like spinner, autocomplete, calendar and so on which are not supported by standard outputLabel.
  • Theme aware error styling when associated component is not valid.
  • Required field indicator to display if target input component is required.

See this new component in action at PrimeFaces Labs.

Posted in Uncategorized | 9 Comments
May 01

Build PrimeFaces Online

PrimeFaces Community member Peter Hendriks has created a great tool to build PrimeFaces from trunk source. With just one click, you can build the very latest PrimeFaces and download it as a jar. We also have plans to bring jenkins back but that’s for future.

http://www.case1.nl/pfnb/

Thank you Peter for taking the time to do this and share with the rest of the community!

Posted in PrimeFaces | 9 Comments
Apr 25

Menu Enhancements

PrimeFaces 3.3 gets major menu component enhancements, most of the work is related to internal apis and refactoring. We’ve unified repetitive behaviors like tiered menus, overlay positioning by introducing client side inheritance.

External changes are;

- Tiered and Slide menu types have now their own components named tieredMenu and slideMenu.
- Added autoDisplay mode to tiered menus, by default submenus are displayed with mouseover, setting autoDisplay mode to false requires a click.
- Tiered Context Menus are now supported.
- Overlay slide and tiered menus are now supported.
- SlideMenu is a complete rewrite of menu with slide type.
- Menus are now not hidden when mouse is out from the submenus, we’ve aligned the behavior with OS menus and menubars to make this closer to common user experience.

Check out PrimeFaces Labs to see these in beta action!

http://www.primefaces.org/showcase-labs/ui/home.jsf

For those who wonder the release date of 3.3… let’s say when it is done ;) We are very busy with maintenance!

Posted in PrimeFaces | 13 Comments
Apr 10

Advanced AutoComplete Tooltip

PrimeFaces AutoComplete is an ajax input suggest component that is far more advanced than other similar JSF components and JS widgets you can find in JS libraries. It supports single, multiple selection, ajax behaviors, custom content, pojo support and more.

An Enterprise User of PrimeFaces required another sponsored feature to autocomplete; Displaying custom content as tooltip on mouseover of suggested items. After giving a though on how to do it, we came up with something like this;

Content of the tooltip is provided by itemtip facet. This is still beta code but cool enough to present.

See PrimeFaces Labs for the live demo!

Hint: Start with “A” :)

Posted in PrimeFaces | 15 Comments
Apr 09

Remaining Chars for InputTextarea

PrimeFaces InputTextarea extends standard inputTextarea component with theming, autogrow and cross browser maxlength constraint. Latest addition to this extension set is displaying number of characters left during typing.

To make things more flexible (as usual in PrimeFaces), we have added two new attributes;

- counter: Id of the output component to display remaining characters text.
- counterTemplate: Customizable template text like “{0} chars remaining! Use it wisely”

Check out PrimeFaces Labs to try it out!

Posted in PrimeFaces | 8 Comments
Apr 04

Star Rating Reimplemented

PrimeFaces Star Rating was based on a 3rd party plugin until now and we’ve decided to come up with our own for 3.3.

While on it, we’ve added a couple of more handy features;

- Improved quality of star icons
- Removed hover as it might be confusing
- Added readonly rendering, improved disabled rendering
- Added style and styleClass options and migrated css classes to PF conventions
- In addition to already existing “rate” ajax behavior event, “cancel” event is now also available.
- Added cancel attribute to define the visibility of cancel icon
- Fixed various problems regarding validations (e.g. required validation was failing)

Update demo is available at PrimeFaces 3.3 Labs.

PrimeFaces : Best JSF Component Suite on Earth until Chuck Norris creates one.

Posted in PrimeFaces | 3 Comments