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)

Reply via email to