facelets
  1. facelets
  2. FACELETS-348

Unique IDs are not enforced for components repeated by c:forEach

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Critical Critical
    • Resolution: Unresolved
    • Affects Version/s: ALL
    • Fix Version/s: 1.1.15
    • Component/s: impl
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      348

      Description

      UIComponnetClassicTagBase used to ensure that IDs on components repeated by
      c:forEach are unique. However, Facelets' ComponentHandler has no such code.

      If the Id of the repeated component is not specified, a unique Id gets
      generated. However, literal Ids are written 'as is', so you may end up with the
      id 'id1' repeated n times. This produces invalid HTML.

      We understand that literal Ids are not very useful when a component is used
      within c:forEach because actual Id value are impossible to predict. However, our
      customization layer stores identifies customizations within a document using
      literal Id, and customizing a repeated component is a valid use case.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            mst_70
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: