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

Duplicate sibling ids allowed

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.1.2-SNAPSHOT
    • 1.1.5
    • General
    • None

    Description

      MyFaces will let you do this (same ids, renders two trees):

      <t:tree id="tree" value="#

      {treeModel}

      "
      styleClass="tree"
      nodeClass="treenode"
      selectedNodeClass="treenodeSelected"
      expandRoot="true">
      </t:tree>
      <h:outputText id="tree" value="This text will not be rendered" />

      See my comments in http://issues.apache.org/jira/browse/MYFACES-1020 for an explanation.

      Attachments

        1. lower_impact_patch.txt
          1 kB
          Dennis Christopher Byrne
        2. patch.txt
          1 kB
          Dennis Christopher Byrne

        Activity

          People

            mmarinschek Martin Marinschek
            dennisbyrne Dennis Christopher Byrne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: