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

Ids used by c:if, c:forEach and other facelet tags requires to be unique per facelet

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.2
    • Component/s: JSR-314, JSR-344
    • Labels:
      None

      Description

      As part of MYFACES-3867, it was found in some cases where parts of the tree are changed by effect of a ui:include tag, the facelet tag ids used by c:if or c:forEach for example are not unique enough.

      The fix is apply the same logic used in DefaultFaceletContext.generateUniqueId(...), which is use a combination between a facelet hierarchy hashcode and the tagId, which is associated to the position of the tag in the page.

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              lu4242 Leonardo Uribe
              Reporter:
              lu4242 Leonardo Uribe

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment