Yes, that's a known bug that I logged
(http://issues.apache.org/jira/browse/MYFACES-281?page=all).

The problem is that id is defined twice in the tld for tree2, so the tag
attribute id value is read as ""client Tree"" instead of "client Tree".
If you unpack the JAR file and eliminate the duplicate definition of id
in the tld file, that will avoid the problem.

- Brendan

-----Original Message-----
From: Sean Schofield [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 21, 2005 3:13 PM
To: MyFaces Discussion
Subject: Fwd: [Beginner's question] Tree2 - problem using example code
in WSAD


---------- Forwarded message ----------
From: Kang, Dong Soo <[EMAIL PROTECTED]>
Date: Jun 13, 2005 5:25 PM
Subject: Re: [Beginner's question] Tree2 - problem using example code in
WSAD
To: [EMAIL PROTECTED]


 
 

I have a same problem with this guy. 

  

I set up extension filter and other stuff in web.xml but it is still
complaining about the value of attribute 'id' in <x:tree2>

The following is the error message I got. "client Tree" is the value
of attribute "id".

 [Servlet Error]-[&quot;clientTree&quot;]:
java.lang.IllegalArgumentException: "clientTree"

  

The following is what I wrote in the jsp file. 

<x:tree2 id="clientTree" value="#{clientTree.treeData}" var="node"
showRootNode="false">

... 

  

</x:tree2>

Reply via email to