5 Replies Latest reply on Aug 15, 2011 7:27 AM by ines87

    <rich:dropDownMenu> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: dropDownMenu

    senthilnz

      Hi All,

       

      My problem is that the rich faces tags are not identified and it throws no such tag available.

       

      I am migrating from jboss 5 to jboss 6 with jsf 2.0 where most of tags rendered correct but except some of rich faces tags,

       

       

       

      /pages/index.xhtml @104,56 <rich:dropDownMenu> Tag Library supports namespace: http://richfaces.org/rich, but no tag was defined for name: dropDownMenu  and also the same for the tag <rich:dataTable>.

       

       

       

      Can anyone help me please??

       

       

       

      My enviroment is jboss-6 with following jars in my lib folder,

       

       

       

      /jsfks/webapp/WEB-INF/lib/commons-beanutils.jar
      /jsfks/webapp/WEB-INF/lib/commons-codec.jar
      /jsfks/webapp/WEB-INF/lib/commons-collections.jar
      /jsfks/webapp/WEB-INF/lib/commons-digester.jar
      /jsfks/webapp/WEB-INF/lib/commons-logging.jar
      /jsfks/webapp/WEB-INF/lib/richfaces-api-3.3.3.Final.jar
      /jsfks/webapp/WEB-INF/lib/richfaces-impl-jsf2-3.3.3.Final.jar
      /jsfks/webapp/WEB-INF/lib/richfaces-ui-3.3.3.Final.jar

       

       

       

      My faces-config.xml file is,

       

      <?
      xml version='1.0' encoding='UTF-8'?>
      <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">

       

      <application>
      <locale-config>
      <default-locale>en</default-locale>
      <supported-locale>bg</supported-locale>
      <supported-locale>de</supported-locale>
      <supported-locale>en</supported-locale>
      <supported-locale>fr</supported-locale>
      <supported-locale>it</supported-locale>
      <supported-locale>tr</supported-locale>
      </locale-config>
      <view-handler>org.ajax4jsf.application.AjaxViewHandler</view-handler>

       

      </application>
      </faces-config>

       

       

       

      My web.xml file as follows,

       

       

       

      <?

       

      xml version="1.0" ?>
      <

       

      web-app 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-app_2_5.xsd"

       

      version="2.5">

       

       

       

      <context-param>

       

      <param-name>javax.faces.STATE_SAVING_METHOD</param-name>

       

      <param-value>server</param-value>

       

      </context-param>

       

       

       

      <context-param>

       

      <param-name>javax.faces.CONFIG_FILES</param-name>

       

      <param-value>/WEB-INF/faces-config.xml</param-value>

       

      </context-param>

       

       

       

       

       

      <context-param>

       

      <param-name>org.richfaces.SKIN</param-name>

       

      <param-value>blueSky</param-value>

       

      </context-param>

       

       

       

      <!-- Suppress spurious stylesheets -->
      <!-- <context-param>

       

      <param-name>javax.faces.DISABLE_FACELET_JSF_VIEWHANDLER</param-name>

       

      <param-value>true</param-value>

       

      </context-param> -->

       

       

       

       

       

      <context-param>

       

      <param-name>org.richfaces.CONTROL_SKINNING</param-name>

       

      <param-value>enable</param-value>

       

      </context-param>

       

       

       

      <context-param>

       

      <param-name>org.richfaces.CONTROL_SKINNING_CLASSES</param-name>

       

      <param-value>disable</param-value>

       

      </context-param>

       

       

       

      <!-- Change load strategy to DEFAULT to disable sending scripts/styles as packs -->

       

       

       

      <context-param>

       

      <param-name>org.richfaces.LoadStyleStrategy</param-name>

       

      <param-value>ALL</param-value>

       

      </context-param>

       

       

       

      <context-param>

       

      <param-name>org.richfaces.LoadScriptStrategy</param-name>

       

      <param-value>ALL</param-value>

       

      </context-param>

       

       

       

       

       

       

       

      <listener>

       

      <listener-class>com.sun.faces.config.ConfigureListener</listener-class>

       

      </listener>

       

       

       

      <!-- Faces Servlet -->
      <filter>
      <display-name>RichFaces Filter</display-name>
      <filter-name>richfaces</filter-name>
      <filter-class>org.ajax4jsf.Filter</filter-class>
      </filter>

       

      <filter-mapping>
      <filter-name>richfaces</filter-name>
      <servlet-name>Faces Servlet</servlet-name>
      <dispatcher>REQUEST</dispatcher>
      <dispatcher>FORWARD</dispatcher>
      <dispatcher>INCLUDE</dispatcher>
      </filter-mapping>
      <servlet>
      <servlet-name>Faces Servlet</servlet-name>
      <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
      <load-on-startup>1</load-on-startup>
      </servlet>
      <context-param>
      <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
      <param-value>.xhtml</param-value>
      </context-param>
      <!-- Faces Servlet Mapping -->
      <servlet-mapping>
      <servlet-name>Faces Servlet</servlet-name>
      <url-pattern>*.jsf</url-pattern>
      </servlet-mapping>
      </web-app>

       

      Am I doing something wrong here?

       


      Thank you for your help!

       

      Regards,

      Senthil