This content has been marked as final.
Show 3 replies
-
1. Re: RichFaces and Facelets integration
ilya_shaikovsky Dec 22, 2008 5:14 AM (in response to bitec)our richfaces demo built on top of the JSF and facelets. please check carefully RF components namespaces.
-
2. Re: RichFaces and Facelets integration
bitec Dec 23, 2008 12:00 PM (in response to bitec)I found the reason, richfaces.taglib.xml and ajax4j.taglib.xml were not loaded correctly by facelets, here is the stack:
SEVERE: Error Loading Library: jar:file:/C:/apache-tomcat-6.0.18/lib/richfaces-ui-3.2.2.SR1.jar!/META-INF/a4j.taglib.xml java.io.IOException: Error parsing [jar:file:/C:/apache-tomcat-6.0.18/lib/richfaces-ui-3.2.2.SR1.jar!/META-INF/a4j.taglib.xml]: at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:410) ... Caused by: org.xml.sax.SAXException: Error Handling [jar:file:/C:/apache-tomcat-6.0.18/lib/richfaces-ui-3.2.2.SR1.jar!/META-INF/a4j.taglib.xml@12,98] <handler-class> at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:271) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at javax.xml.parsers.SAXParser.parse(SAXParser.java:176) at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:407) ... 43 more Caused by: java.lang.Exception: org.ajax4jsf.taglib.html.facelets.ActionParamHandler must be an instance of com.sun.facelets.tag.TagHandler at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.createClass(TagLibraryConfig.java:293) at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:210)
I looked through all libraries, there is no more class with "ActionParamHandler" name except in richfaces-ui-3.2.2.SR1.jar and it extends facelets TagHandler class, but the error stack says the other thing... It's pretty strange.. -
3. Re: RichFaces and Facelets integration
bitec Dec 23, 2008 12:11 PM (in response to bitec)The topic is closed, I had facelets library both in web application libraries and in tomcat libraries, this affected the class loading somehow... Childish thing, thx to everyone :)