Hi<br><br><div class="gmail_quote">2010/10/27 Ganesh <span dir="ltr">&lt;<a href="mailto:ganesh@j4fry.org">ganesh@j4fry.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Can you please give a use case for multiple method signatures? The use cases that come to my mind would work fine with:<br>
<br>
&lt;cc:attribute name=&quot;testAction&quot; method-signature=&quot;String method()&quot; /&gt;<br>
<br></blockquote><div><br>&quot;action&quot; could receive the following signatures:<br><br>String method()<br>Object method()<br>void method()<br><br>Really the most clear case is &quot;actionListener&quot;:<br><br>void method(javax.faces.event.ActionEvent )<br>
void method()<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Concerning targetName: I must admit I don&#39;t fully understand what this is meant to do. Do you have a list of possible f:attribute types in mind (like &quot;value&quot;, &quot;action&quot;, &quot;valueChangelistener&quot;, &quot;validator&quot; and &quot;actionListener&quot;)? If this is the concept of targetName I&#39;d prefer naming it &quot;type&quot;, so we could have:<br>

<br>
&lt;cc:attribute name=&quot;testAction&quot; type=&quot;action&quot; /&gt;<br>
&lt;cc:attribute name=&quot;testValidator&quot; type=&quot;validator&quot; /&gt;<br>
<br></blockquote><div><br>Unfortunately &quot;type&quot; is already used and has this description:<br><br>&quot;...Declares that this attribute must be a ValueExpression whose expected type is given by the value of this attribute. If not specified, and no &quot;method-signature&quot; attribute is present, java.lang.Object  is assumed. This attribute is mutually exclusive with the &quot;method-signature&quot; attribute. If both attributes are present, the &quot;method-signature&quot; attribute is ignored...&quot;<br>
<br>Maybe something like &quot;targetProperty&quot; could work? or maybe &quot;methodType&quot; or &quot;targetMethodType&quot;?. Valid values to this attribute will be &quot;action&quot;, &quot;actionListener&quot;, &quot;validator&quot; and &quot;valueChangeListener&quot;.<br>
<br>best regards,<br><br>Leonardo Uribe<br><br></div></div>