[ http://issues.apache.org/jira/browse/MYFACES-291?page=all ]
sean schofield updated MYFACES-291:
-----------------------------------
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.
was:
The Tree2 component throws errors when run in "server side" mode using the Sun
RI.
As described by Balaji Saranathan [mailto:[EMAIL PROTECTED]
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.
Removed user's email address from JIRA to prevent spamming.
> Server Side Tree2 Component Does Not Work with Sun RI
> -----------------------------------------------------
>
> Key: MYFACES-291
> URL: http://issues.apache.org/jira/browse/MYFACES-291
> Project: MyFaces
> Type: Bug
> Versions: 1.0.9 beta
> Environment: Using Sun RI under IBM RSA 6.0
> Reporter: Brendan Conner
>
> 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.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira