MyFaces Core
  1. MyFaces Core
  2. MYFACES-3133

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

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      1. testproject.zip
        2.67 MB
        Michael Wohlfart

        Issue Links

          Activity

          Leonardo Uribe made changes -
          Status Open [ 1 ] Closed [ 6 ]
          Assignee Jakob Korherr [ jakobkorherr ] Leonardo Uribe [ lu4242 ]
          Fix Version/s 2.1.1 [ 12316463 ]
          Fix Version/s 2.0.7 [ 12316465 ]
          Resolution Duplicate [ 3 ]
          Leonardo Uribe made changes -
          Link This issue duplicates MYFACES-3165 [ MYFACES-3165 ]
          Jakob Korherr made changes -
          Fix Version/s 2.0.6-SNAPSHOT [ 12316347 ]
          Jakob Korherr made changes -
          Fix Version/s 2.0.6-SNAPSHOT [ 12316347 ]
          Jakob Korherr made changes -
          Assignee Jakob Korherr [ jakobkorherr ]
          Michael Wohlfart made changes -
          Field Original Value New Value
          Attachment testproject.zip [ 12478590 ]
          Michael Wohlfart created issue -

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development