Details
Description
The Tree2 component throws errors when run in "server side" mode using the Sun RI.
As described by Balaji Saranathan
The offending code in tree2 seems to be the getMyForm() in com.sun.faces.renderkit.html_basic.CommandLinkRenderer.java. When this is called in the encodeEnd() of commandLinkRenderer, it returns null. I tried enclosing the tree2 inside a form tag(ugly but a try though) but doesn't seem to work. Going through the code, I find the HtmlLinkRendererBase in Myfaces uses a DummyFormUtils while commandLinkRenderer in SUN RI tries to raise an exception saying it has to be enclosed within a form.