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

Facelet Compatibility: AJAX update fails for components in composite components with same ID

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 4.0.2
    • None
    • General
    • None

    Description

      Reproducer: primefaces-test-dialog-cc-id-problem.zip
      Clicking on show dialog opens the dialog, but clicking on cancel does not close the dialog even though it should.

      Composite component representing PrimeFaces dialog added to page:

      "dialogTest" composite component contains another composite component with the same ID:

      If the underlined ID "testDialog" is changed to something else, it works. If it's the same, it fails.
      Works in Mojarra.

      Please let me know if you need additional information! Thank you very much in advance!

      Attachments

        1. primefaces-test-dialog-cc-id-problem.zip
          18 kB
          Manuel K
        2. image-2024-11-05-08-20-31-951.png
          4 kB
          Manuel K
        3. image-2024-11-05-08-25-07-002.png
          43 kB
          Manuel K

        Activity

          People

            Unassigned Unassigned
            mkomko Manuel K
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: