[jboss-user] [JBoss Seam] - Re: Richfaces Tree

damianharvey do-not-reply at jboss.com
Fri Aug 17 09:44:54 EDT 2007


The only thing I noticed was that your addChild identifier is a String: richTree.addChild("node1",node1);Whereas the examples and mine use an Integer. I recall having some problems with this as well so try: int myIndex = 0;
  | richTree.addChild(new Integer(myIndex++),node1);

It's also probably worth using the TreeNodeImpl rather than rolling your own until you get it going.

Cheers,

Damian.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075219#4075219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075219



More information about the jboss-user mailing list