Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-1067

Generated HTML IDs should be unique for all items when using a checkbox List as a Class property

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.4 M1
    • 1.0 B6
    • {Unused} Core
    • None

    Description

      here is a sample. (do not pay attention to the fact that there is no content in the span, it's a copy/paste from firebug tree view)

      i'm doing a displayedit on a list with a checkbox view.

      The bug is in ListClass.java line 404 revision 2759.

       
      <div class="gwt-HTML">
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      <input type="checkbox" value="gr-k2" name="XWiki.AssetClass_0_educational_level2"/>
      Gr. K-2 / Ages 5-7
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <span id="xwiki-form-educational_level2" class="xwiki-form-listclass">
      </span>
      <input type="hidden" value="" name="XWiki.AssetClass_0_educational_level2"/>
      <input type="hidden" value="" name="XWiki.AssetClass_0_educational_level2"/>
      </div>
      

      Attachments

        Issue Links

          Activity

            People

              jvdrean Jean-Vincent Drean
              jeremi jeremi Joslin
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: