You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Wohlfart (JIRA)" <de...@myfaces.apache.org> on 2011/05/09 14:40:03 UTC

[jira] [Commented] (MYFACES-3133) "cc" attribute cannot be resolved when composite component is used inside a datatable

    [ https://issues.apache.org/jira/browse/MYFACES-3133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13030715#comment-13030715 ] 

Michael Wohlfart commented on MYFACES-3133:
-------------------------------------------

I haven't checked if the problem persists in newer versions than 2.0.2 yet.. will do when there is time...

> "cc" attribute cannot be resolved when composite component is used inside a datatable
> -------------------------------------------------------------------------------------
>
>                 Key: MYFACES-3133
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3133
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.0.2
>            Reporter: Michael Wohlfart
>         Attachments: testproject.zip
>
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira