The examples can be found in the JSFlive Github repository jsf22-examples.
HTML5 is probably one of the most used buzzwords in the web development world these days. But behind the hype there are some really useful features and enhancements making the life of web developers easier (and probably more exciting). There have been several community approaches to combine JSF and HTML5 but the official support starts with JSF 2.2. In this post of the series on JSF 2.2 I will show how to create HTML5 friendly markup with passthrough attributes and elements.
JSF and CDI are a very fine and powerful combination. But until recently there was something missing in this relationship: the view scope. In this post of the series on JSF 2.2 I will quickly show the new JSF 2.2 view scope implementation for CDI.
In this post of the series on JSF 2.2 I will show a use case for the new
resetValues attribute on
f:ajax. With this attribute (and the the related code) JSF 2.2 provides a solution for a problem that has been around for quite some time. In some cases JSF cannot update the values of input components during ajax requests unless their value is explicitly reset.
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.
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
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 ) solves this issue (see ).