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

"cc" attribute cannot be resolved when composite component is used inside a datatable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 2.0.2
    • Fix Version/s: 2.0.7, 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      When a composite component is used inside a datatable, the resolving of the general "cc"-attribute does not work consistently. For value bindings (with e.g. inputText) everything seems to be fine, but when used inside an "actionListener"-attribute or an "action"-attribute (with e.g. commandButton) the resolvement of "cc" fails. I've isolated the problem to the method "CompositeComponentELUtils.getCompositeComponentBasedOnLocation(..)" which checks if the parent component in the component stack is a "composite component". The "HtmlDataTable" element is not recognized as such.

        Attachments

        1. testproject.zip
          2.67 MB
          Michael Wohlfart

          Issue Links

            Activity

              People

              • Assignee:
                lu4242 Leonardo Uribe
                Reporter:
                michael.wohlfart Michael Wohlfart
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: