Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-291

Server Side Tree2 Component Does Not Work with Sun RI

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.9m9
    • 1.1.0
    • General
    • None
    • Using Sun RI under IBM RSA 6.0

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            bc1378@sbc.com Brendan Conner
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: