Desculpem-me ressucitar o tópico, mas a título de registro:
- Inclua "xmlns="http://www.w3.org/1999/xhtml" em todas as páginas, conforme:
-- Nas páginas template, inclua na tag :
Era
<html xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core">
Fica
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:c="http://java.sun.com/jsp/jstl/core">
E nos clientes do template, inclua na tag :
Seu código
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
template="./../base.xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.prime.com.tr/ui">
Fica
<ui:composition xmlns="http://www.w3.org/1999/xhtml
xmlns:ui="http://java.sun.com/jsf/facelets"
template="./../base.xhtml"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:p="http://primefaces.prime.com.tr/ui">
Alternativamente, altere seu web.xml, inserindo ou editando a tag
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
Para
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Production</param-value>
</context-param>