2 Replies Latest reply on Jan 5, 2008 10:34 PM by linux enthusiast

    Problem Uisng richfaces Tag library with Seam. ( no tag was

    linux enthusiast Newbie

      I'm having problems using RichFAces tag library with Seam. Also tried downloading the latest version for Seam jboss-seam-2.0.1.CR1 hoping it was an issue with the Richfaces jar. But the problem still exists.

      Just to isolate the issue, chnaged the home.xhtml in seam "booking" example as follows,

      <html xmlns="http://www.w3.org/1999/xhtml"
       xmlns:ui="http://java.sun.com/jsf/facelets"
       xmlns:f="http://java.sun.com/jsf/core"
       xmlns:h="http://java.sun.com/jsf/html"
       xmlns:a4j="http://richfaces.org/a4j"
       xmlns:rich="http://richfaces.org/rich">
      <f:view>
      <head>
      </head>
       <body>
       <h:form id="form">
       <rich:contextMenu attached="false" id="menu" submitMode="ajax">
       <rich:menuItem>
       Testing
       </rich:menuItem>
       </rich:contextMenu>
       </h:form>
       </body>
      </f:view>
      </html>


      At runtime I'm getting the following error.

      An Error Occurred:
      /home.xhtml @13,72 <rich:contextMenu> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: contextMenu

      +- Stack Trace
      com.sun.facelets.tag.TagException: /home.xhtml @13,72 <rich:contextMenu> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: contextMenu
      at com.sun.facelets.compiler.CompilationManager.pushTag(CompilationManager.java:193)
      at com.sun.facelets.compiler.SAXCompiler$CompilationHandler.startElement(SAXCompiler.java:194)
      at java.lang.Thread.run(Thread.java:595)

      +- Component Tree