adding SeamFaceletViewHandler
ziphyre Feb 12, 2008 5:38 AMHello,
I'm using seam 2.0.1.GA with JBoss 4.2.2.GA, with Seam Book. When I try the ajax4jsf example in the book without any modification, it gives me these errors: (I downloaded the updated source codes for seam 2.0)
12:18:20,869 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/ajax4jsf.jar!/META-INF/a4j.taglib.xml 12:18:20,885 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/jboss-seam-ui.jar!/META-INF/s.taglib.xml 12:18:20,913 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 12:18:20,927 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 12:18:20,947 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 12:18:20,966 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 12:18:20,977 ERROR [STDERR] Feb 12, 2008 12:18:20 PM com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/home/ziphyre/Dev/jboss-4.2.2.GA/server/default/tmp/deploy/tmp16942ajax4jsf.ear-contents/app-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml
But it still works as expected.
As written on the book I guess I should use SeamFaceletViewHandler in order to prevent these errors. But when I change the com.sun.facelets.FaceletViewHandler to
org.jboss.seam.ui.facelet.SeamFaceletViewHandler, it gives me the ClassNotFoundException.
I looked into jboss-seam-ui.jar in seam/lib directory, and there is no such a class in this jar, the only class in the hierarchy (jboss-seam-ui.jar/org/jboss/seam/ui/facelet is FaceletsRenderer.class (and is subclasses)
So, how can I prevent these errors or should I?
Thanks