About this task
The JSF 2.2 specification defines a way to mix JSF code with
plain HTML5 by adding new namespaces:
- http://xmlns.jcp.org/jsf/passthrough
- http://xmlns.jcp.org/jsf
These namespaces are automatically added to JSF 2.2 projects
and enable you to:
- Use HTML attributes in JSF components (Pass-through attributes).
- Use JSF attributes in HTML tags (Pass-through elements).
Using these new namespaces, you are also able to write fully-compliant
JSF pages using only HTML. HTML5 introduces a series of new attributes
for existing elements with JSF 2.2, and you can mix those attributes
with JSF components by using the content assist in the source editor
or using the Properties view: