Html 5 / JSF 2.2 Demo

This demo shows how to use Html 5 features with passthrough attributes.

Add Html 5 attributes to JSF components

It is possible to set Html 5 attributes to tags which are not available as JSF attributes.
As example we set the Html 5 placeholder attribute to a <h:inputText> tag:

Use plain Html with JSF

It is possible to write plain Html and set JSF attributes to use JSF data-binding or other JSF features.