myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Łukasz Budnik" <>
Subject [Tomahawk] non-unique IDs in <t:tree2 />
Date Tue, 05 Feb 2008 17:54:50 GMT
Hi All,

I'm running a <t:tree2 /> example available at:

And the result is:

javax.servlet.ServletException: Component ID treeForm:clientTree:t2c
has already been found in the view.  See below for details.
+id: j_id_jsp_287013395_0
 type: javax.faces.component.UIViewRoot@ad89ec
  +id: treeForm
   type: javax.faces.component.html.HtmlForm@13a0934
    +id: clientTree
     type: org.apache.myfaces.custom.tree2.HtmlTree@1324b17
      +id: j_id_jsp_287013395_17
       type: javax.faces.component.html.HtmlPanelGroup@e00c09
        +id: j_id_jsp_287013395_18
         type: javax.faces.component.html.HtmlCommandLink@1364b53
          +id: j_id_jsp_287013395_19
           type: org.apache.myfaces.component.html.ext.HtmlGraphicImage@18b62e0

... and so on

the only id that I have set in my tree.jsp are:

<h:form id="treeForm">
  <t:tree2 id="clientTree" value="#{Tree2TestController.treeData}"
var="node" varNodeToggler="t">


the rest is simply copy and paste from the above mentioned web site.

I'm using:


since all ids should be unique clearly this is... a bug?

best regards
View raw message