2 Replies Latest reply on Feb 28, 2008 11:58 AM by Michael Price

    no tag defined for rich:recursiveTreeNodesAdapter

    Michael Price Newbie

      I am running JBoss 4.2.2.GA.
      I used seamgen from JBoss-Tools-200802260021-nightly-ALL-win32
      to create a project I am using.

      I created an xhtml page using rich:tree and rich:recursiveTreeNodesAdapter.

      When I ran it I got

      /orgTree.xhtml @25,20 <rich:recursiveTreeNodesAdapter> Tag Library
      supports namespace: http://richfaces.org/rich, but no tag was defined for
      name: recursiveTreeNodesAdapter

      So I downloaded richfaces-ui-3.1.4.GA-src.zip and to the best of my
      knowledge I replaced richfaces-impl.jar and richfaces-ui.jar which are
      placed in WEB-INF/lib in my war file and richfaces-api.jar in the top
      of my ear file.

      I still got the same error message.

      Here is the page

      <!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
       "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <ui:composition xmlns="http://www.w3.org/1999/xhtml"
       xmlns:s="http://jboss.com/products/seam/taglib"
       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"
       template="layout/template.xhtml">
      
      <ui:define name="body">
      
       <h:messages styleClass="message"/>
      
       <h:form id="orgTreeForm">
      
       <rich:panel>
       <f:facet name="header">Organization</f:facet>
      
       <rich:tree id="orgTree" switchType="ajax">
       <rich:recursiveTreeNodesAdapter
       roots="#{organizationRootBean.sourceRoots}"
       nodes="{organizationNode.nodes}"
       var="dir">
       <rich:treeNode>#{organizationNode.name}/</rich:treeNode>
       <rich:treeNodesAdapternodes="{organizationNode.members}" var="org">
       <rich:treeNode>#{person.name}</rich:treeNode>
       </rich:treeNodesAdapter>
       </rich:recursiveTreeNodesAdapter>
       </rich:tree>
      
       </rich:panel>
      
       </h:form>
      
       </ui:define>
      </ui:composition>