Hi.
I needed a tree component for my Sun RI-based application and spent
several hours today trying to make MyFaces trees work.
Here's a small list of problems that I met:
1. Tree2.
Does not work with Sun RI. NPE with command links, this problem was
recently reported in the list.
Known issue. (MYFACES-291)
Obviously links have to be added to the form before rendering them. I
could try to correct this myself.
2. Tree.
I had to disable Javascript in web.xml otherwise, some javascript was
rendered in the page, with a reference to clear_helloForm() function,
which was not rendered.
This sounds like a new one.
clear_<form>() is only rendered by the MyFaces form renderer, not by Sun
RI. I guess that's why it does not work.
3. Tree.
Duplicate component identifier.
Recently Fixed (MYFACES-281)
No, a different one. I had "Duplicate component ID 'tree_node_0' found
in view."
So I'd be greateful if anyone could send me a working MyFaces + Sun RI
example. WAR file maybe?
That's not going to happen anytime soon. First we have to finish the
SVN reorg. Then we need to address the problem. A ways down the line
we will end up testing all of the examples against the RI but that is
a lower priority.
Understand.
Does anyone know if there are good free tree implementations outside
MyFaces? (sorry to ask it here, but I'm a bit desperate, guys)
Nope. Why not help us fix the MyFaces version instead?
I'll try to.
Bye.
/lexi