This isn’t a new feature, but a small change in the specification worth knowing about. If you’re already a JSF user you will notice that the namespaces for the tag libraries have changed. Don’t worry about changing your current code with the new namespaces, as the JSF specification explicitly requires both namespaces (old and new) to be supported by JSF implementations. Just make sure that on your new JSF code you use the new versions. Below you have a table with the old namespaces and their current counterparts:
Library
|
Old URI
|
New URI
|
Composite
Components
|
http://java.sun.com/jsf/composite
|
http://xmlns.jcp.org/jsf/composite
|
Faces Core
|
http://java.sun.com/jsf/core
|
http://xmlns.jcp.org/jsf/core
|
HTML_BASIC
|
http://java.sun.com/jsf/html
|
http://xmlns.jcp.org/jsf/html
|
JSTL Core
|
http://java.sun.com/jsp/jstl/core
|
http://xmlns.jcp.org/jsp/jstl/core
|
JSTL
Functions
|
http://java.sun.com/jsp/jstl/functions
|
http://xmlns.jcp.org/jsp/jstl/functions
|
Facelets
Templating
|
http://java.sun.com/jsf/facelets
|
http://xmlns.jcp.org/jsf/facelets
|
Pass
Through
Attributes
|
http://java.sun.com/jsf/passthrough
|
http://xmlns.jcp.org/jsf/passthrough
|
Pass
Through
Elements
|
http://java.sun.com/jsf
|
http://xmlns.jcp.org/jsf
|
IntelliJ IDEA support for new JSF namespaces |
No comments:
Post a Comment