Hey,

since TreeItem,java is not part of MyFaces Tomahawk Core
It was introduced *into* the EXAMPLE application

here the SRC goes

http://tinyurl.com/zpygz

BTW. Tree2 has some thing like that TreeNode (an interface...)
with two impls of that Interface

HTH,
Matthias

On 6/5/06, Todd Patrick <[EMAIL PROTECTED]> wrote:


Great.

There isn't a TreeItem, so this example for TreeTable is absolutely
worthless. When I added:

TreeItem item = new TreeItem();

TreeItem wasn't found in MyFaces Tomahawk 1.1.2.

"This is frustrating..."

--Todd

 ________________________________
 From: Todd Patrick [mailto:[EMAIL PROTECTED]
Sent: Monday, June 05, 2006 9:26 AM
To: MyFaces Discussion
Subject: Where is the TreeItem Javadoc?



In the example:

/org/apache/myfaces/examples/listexample/TreeTable.java

There is the following:

DefaultMutableTreeNode root = new DefaultMutableTreeNode(new TreeItem(1,
"XY", "9001", "XY 9001"));
        DefaultMutableTreeNode a = new DefaultMutableTreeNode(new
TreeItem(2, "A", "9001", "A 9001"));
        root.insert(a);
        DefaultMutableTreeNode b = new DefaultMutableTreeNode(new
TreeItem(3, "B", "9001", "B 9001"));
        root.insert(b);
        DefaultMutableTreeNode c = new DefaultMutableTreeNode(new
TreeItem(4, "C", "9001", "C 9001"));
        root.insert(c);

Where is the TreeItem Javadoc on
http://myfaces.apache.org/tomahawk/apidocs/index.html?

I've looked without success.

Thanks,

--Todd



--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
blog: http://jroller.com/page/mwessendorf
mail: mwessendorf-at-gmail-dot-com

Reply via email to