JSF Faceletタグライブラリのxmlnm(XMLネームスペース)一覧
Library | prefix | JSF2.1まで | JSF2.2以降 |
---|---|---|---|
Composite Components | cc | http://java.sun.com/jsf/composite | http://xmlns.jcp.org/jsf/composite |
Faces Core | f | http://java.sun.com/jsf/core | http://xmlns.jcp.org/jsf/core |
HTML_BASIC | h | http://java.sun.com/jsf/html | http://xmlns.jcp.org/jsf/html |
JSTL Core | c | http://java.sun.com/jsp/jstl/core | http://xmlns.jcp.org/jsp/jstl/core |
JSTL Functions | fn | http://java.sun.com/jsp/jstl/functions | http://xmlns.jcp.org/jsp/jstl/functions |
Facelets Templating | ui | http://java.sun.com/jsf/facelets | http://xmlns.jcp.org/jsf/facelets |
Pass Through Attributes | p | http://java.sun.com/jsf/passthrough | http://xmlns.jcp.org/jsf/passthrough |
Pass Through Elements | jsf | http://java.sun.com/jsf | http://xmlns.jcp.org/jsf |
HTML例
sample.xhtml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:cc="http://xmlns.jcp.org/jsf/composite"
xmlns:f="http://xmlns.jcp.org/jsf/core"
xmlns:h="http://xmlns.jcp.org/jsf/html"
xmlns:c="http://xmlns.jcp.org/jsp/jstl/core"
xmlns:fn="http://xmlns.jcp.org/jsp/jstl/functions"
xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
xmlns:p="http://xmlns.jcp.org/jsf/passthrough"
xmlns:jsf="http://xmlns.jcp.org/jsf">
<h:head>
</h:head>
<h:body>
</h:body>
</html>