<cc:interface>
<cc:attribute name="action"/>
<cc:attribute name="label"/>
</cc:interface>
<cc:implementation>
<h:commandButton value="#{cc.attrs.label}"
action="#{cc.attrs.action}"/>
</cc:implementation>
So method-signature isn't required any more with your patch?
Fortunately, this change does not prevent "targets"
attribute to work. From my point
of view seems to be very intuitive, compared with the other style.
Yes, this is what comes to mind first of all.
<h:commandButton name="button1">
<composite:insertActionSource name="loginEvent"/>
</h:commandButton>
This way it becomes easy to understand, great proposal.
Best regards,
Ganesh