Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-2048

ComponentUtils.getScopedIdForComponent() is not producing consistent scoped IDs for components relocated during tag execution

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.14-plugins
    • 1.2.15-core
    • None
    • None

    Description

      getScopedIdForComponent() simply walks the parent hierarchy to append naming container IDs. However, we have components that get relocated during tag execution, so their naming container hierarchy is different at tag execution time vs. the rest of the lifecycle. To solve this problem, we need to have getScopedIdForComponent return a scoped Id reflecting the original naming container hierarchy for the component, i.e. return its pre-relocation scoped ID.

      This will require API additions on UIXComponent to allow relocated components to provide their logical (original parent).

      Attachments

        1. trinidad2048-1.2.x.patch
          20 kB
          Max Starets
        2. trinidad2048.patch
          20 kB
          Max Starets

        Activity

          People

            mstarets Max Starets
            mstarets Max Starets
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: