We are migrating jsf 1.2 & Primefaces 1.1 to JSF 2.0 & Primefaces 3.0. In JSF 1.2 & Primefaces we have used
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/></head>
To overcome IE8 compatibility issue. It was working fine. It was on jsps.
I tried the following code
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui">
<h:head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
<title>Sample</title>
<link href="styles/styles.css" rel="stylesheet" type="text/css"/>
</h:head>
But the meta tag is no changing browser compatibility.
If I put like
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:p="http://primefaces.prime.com.tr/ui">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8"/>
The page is throwing "One or more resources have the target of 'head', but no 'head' component has been defined within the view.One or more resources have the target of 'head', but no 'head' component has been defined within the view." error
Help me to find the solution for the above issue
Moved to JSF forum