This content has been marked as final.
Show 1 reply
-
1. Stylesheet/skin not applied after validation error
franksparr Jan 25, 2011 12:19 PM (in response to franksparr)Ok, after much tinkering, I think I figured it out.
My faces-config.xml file started with this:
<faces-config version="1.2" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xi="http://www.w3.org/2001/XInclude" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
When I switched it to version 2.0, it started working as expected:
<faces-config
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_2_0.xsd"
version="2.0">
My bad. It was easy to overlook!