JSF 2.2: New namespaces

In this post of the series on JSF 2.2 I will show the new XML namespaces used by JSF 2.2 for faces-config.xml, custom tag lib config files and JSF taglibs. Basically, all namespaces start with http://xmlns.jcp.org now instead of http://java.sun.com. So one more remnant of the Sun era that was removed.

Continue reading

Advertisements

JSF 2.2: File upload with h:inputFile

After so many years it finally happened! The JSF 2.2 specification features a file upload component. In this post of the series on JSF 2.2 I will show how to upload files with the brand new h:inputFile component.

Continue reading

JSF 2.2: Empty composite component attributes

In my post about empty attributes in composite components I discussed problems with composite component attributes whose value is null. So, in my fifth post of the series on JSF 2.2 features I will show that the JSF 2.2 specification (see [1]) solves this issue (see [2]).

Continue reading

Slides for session at CONFESS 2013

Unfortunately, the CONFESS 2013 is over. I uploaded the slides for my presentation Go Fullstack: JSF for public sites to Slideshare. As always, the examples can be found on the JSFlive Github repository jsf-get-examples.

JSF 2.2: Composite components in taglibs

JSF 2.0 introduced composite components and a simple but limited way to include them into custom tag libraries. In my fourth post of the series on JSF 2.2 features I will show a new and more flexible way to add tags for composite components to custom taglibs.

Continue reading

JSF 2.2: Configurable resource directory

In my third post of the series on JSF 2.2 features I will present a small extension of the JSF resource handling mechanism. JSF 2.2 allows to configure the directory used for resource lookup.

Continue reading

JSF 2.2: CollectionDataModel

In my last post of the series on JSF 2.2 features I presented view actions, a feature that was missing since the introduction of HTTP GET support in JSF 2.0. Another feature that has been missing even longer is the CollectionDataModel.

Continue reading