The Layout Attribute Is Invalid According To The Specified Tld
You have basically 2 options:
Upgrade to JSF 1.2 or preferably to JSF 2.x which is been out for over 2 years already and almost at version 2.2. You can download the JSF implementations here. Note that JSF 1.2 on JSP requires at least a Servlet 2.5 compatible container. So you need to have at least Tomcat version 6.0 or preferably Tomcat 7.0 which is been out for over 2 years already as well. Make sure that your
web.xml
is declared conform the highest servlet version supported by the container.If you can't upgrade to JSF 1.2 or newer, because you're stuck to Tomcat 5.5 or older for some unclear reason, then you should forget using
<h:panelGroup layout>
and use a normal<div>
element instead. You only need to wrap it in<f:verbatim>
because JSF 1.1 and older cannot treat plain HTML normally.<f:verbatim><div></f:verbatim> ... <f:verbatim></div></f:verbatim>
Post a Comment for "The Layout Attribute Is Invalid According To The Specified Tld"