title: JSF2 composite cc.attrs expression does not evaluate action parameters correctly
body: <p>I have a JSF composite component which is a list of email addresses that can be dynamically added to, and deleted from:</p>
  
  <pre><code>&lt;composite:interface shortDescription="Display party email addresses"&gt;
      &lt;composite:attribute name="addressable" required="true"/&gt;
  &lt;/composite:interface&gt;
  
  &lt;composite:implementation&gt;  
      &lt;h:panelGroup layout="block" id="emails"&gt;
          &lt;h:dataTable id="emailList" value="#{cc.attrs.addressable.emailAddresses}" var="email" styleClass="data-list small-list" cellpadding="0" cellspacing="0"&gt;
              &lt;h:column&gt;
                  &lt;f:facet name="header"&gt;Address&lt;/f:facet&gt;
                  &lt;h:inputText id="emailAddress" value="#{email.address}" size="30" maxlength="100" required="true" label="Email"/&gt;
              &lt;/h:column&gt;
              &lt;h:column&gt;
                  &lt;f:facet name="header"&gt;Description&lt;/f:facet&gt;
                  &lt;h:inputText id="emailDescription" value="#{email.description}" size="20" maxlength="100"/&gt;
              &lt;/h:column&gt;        
              &lt;h:column&gt;
                  &lt;f:facet name="header"&gt;
                      &lt;h:panelGroup styleClass="right-align" layout="block"&gt;
                          &lt;h:commandLink id="addEmail" action="#{cc.attrs.addressable.addEmailAddress}" title="Add an email address"&gt;
                              &lt;f:ajax execute=":#{cc.clientId}:emails" render=":#{cc.clientId}:emails"/&gt;
                              &lt;h:graphicImage library="images" name="add.png" id="emailAddImg"/&gt;
                          &lt;/h:commandLink&gt;
                      &lt;/h:panelGroup&gt;
                  &lt;/f:facet&gt;
                  &lt;h:commandLink id="deleteEmail" action="#{cc.attrs.addressable.remove(email)}" title="Remove the email from this row"&gt;
                      &lt;f:ajax execute=":#{cc.clientId}:emails" render=":#{cc.clientId}:emails"/&gt;
                      &lt;h:graphicImage library="images" name="delete.png" id="emailDeleteImg"/&gt;
                  &lt;/h:commandLink&gt;
              &lt;/h:column&gt;          
          &lt;/h:dataTable&gt; 
      &lt;/h:panelGroup&gt;
  &lt;/composite:implementation&gt;
  </code></pre>
  
  <p>This component is used as follows:</p>
  
  <pre><code>&lt;edit:emailAddresses addressable="#{personAddressable}" id="emailAddresses"/&gt;
  </code></pre>
  
  <p>Where the 'deleteEmail' action is invoked it causes an exception:</p>
  
  <blockquote>
    <p>ERROR [STDERR] Caused by: javax.el.MethodNotFoundException: /resources/edit/emailAddresses.xhtml @34,130 action="#{cc.attrs.addressable.remove(email)}": Method not found: No-Interface view for endpoint [ jboss.j2ee:jar=tephra.war,name=PersonAddressable,service=EJB3 ] and session 3j011-mgweoj-ghfwhlvv-1-ghfy2e5j-e1.remove()</p>
  </blockquote>
  
  <p>However if the action is changed to personAddressable.remove(email) it works! This seems like simple parameter substitution and shouldn't make any difference. The action for adding an email address, which does not have a parameter, works fine.</p>
  
  <p>I won't post the code for the backing bean as I've proved it works. But for reference it is a stateful conversation scoped bean (CDI).</p>
  
  <p>I am using JBoss AS6-M5 which uses el 2.2.</p>