You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Sven Linstaedt (JIRA)" <de...@myfaces.apache.org> on 2014/05/26 12:50:01 UTC

[jira] [Created] (MYFACES-3897) AttributeHandler does not work for composite:implementation

Sven Linstaedt created MYFACES-3897:
---------------------------------------

             Summary: AttributeHandler does not work for composite:implementation
                 Key: MYFACES-3897
                 URL: https://issues.apache.org/jira/browse/MYFACES-3897
             Project: MyFaces Core
          Issue Type: Bug
    Affects Versions: 2.2.0
            Reporter: Sven Linstaedt
            Priority: Minor


I am not totally sure, but according to javax.faces.view.facelets.ComponentHandler.isNew(UIComponent) something like 
{code}
<composite:implementation>
   <f:event ...../>
</composite:implementation>
{code}

should work. Actually f:attribute (and probably f:attributes) does not work this way, because it does not use the isNew function, but checks nullness of the parent of the component itself, not taking composite components into account. So
{code}
<composite:interface componentType="...">
<composite:implementation>
   <f:attribute ...../>
</composite:implementation>
{code}
for initializing the component does not work.



--
This message was sent by Atlassian JIRA
(v6.2#6252)