Presentation for “JSF GET Support” session@Javaland 2014

As I already announced here, I will do a session about “JSF GET Support” including GET navigation, view parameters, view actions and RESTful URLs with OCPsoft Rewrite at the JavaLand 2014 conference.

I uploaded the presentation to GitHub Pages: presentation for JSF GET Support (currently in German – I might change that). The presentation is realized with Reveal.js – a really cool tool for creating presentations with HTML5 and CSS.

JSFlive@JavaLand 2014

JavaLand 2014 Speaker (Michael Kurz)

I am proud to announce that I will do the session JSF mit GET-Requests und lesbaren URLs (in German) at JavaLand 2014.

The JavaLand 2014 session list is already complete and sounds really promising. So maybe I will meet some of you there. You will find me at the "IRIAN city".

The source code for the session can be found in the JSFlive Github repository jsf-get-examples (still work in progress).

Book JavaServer Faces 2.2 published (German)

JavaServer Faces 2.2

I am very proud to announce, that at the third edition of our german JSF book JavaServer Faces 2.2 – Grundlagen und erweiterte Konzepte is available.

The new edition adds JSF 2.2 topics like HTML5 integration, the file upload component, Faces Flows or resource library contracts. Besides that, the new book additionally shows how to use PrimeFaces and how to integrate JSF and CDI.

Slides for JSF 2.2 session at Herbstcampus 2013

This week I was at the great Herbstcampus 2013 in Nuremberg. I uploaded the slides for my session JavaServer Faces 2.2 (german) to Slideshare.

The examples can be found in the JSFlive Github repository jsf22-examples.

JSF 2.2: HTML5 friendly markup

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.

Continue reading

JSF 2.2: View Scope for CDI

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.

Continue reading

JSF 2.2: Reset input fields

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.

Continue reading

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

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