[JAVASERVERFACES_SPEC_PUBLIC-906] cc:attribute method-signature should allow multiple definitions Created: 03/Nov/10  Updated: 12/Aug/14

Status: Open
Project: javaserverfaces-spec-public
Component/s: Facelets/VDL
Affects Version/s: 2.0
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: lu4242 Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File 906-cc-attribute-multiple-method-signature.patch    
Issuezilla Id: 906
Status Whiteboard:

size_medium importance_medium


 Description   

On JSF 2.0, cc:attribute method-signature only allows define one signature, but
there are examples on JSF that more that one method signature could be used for
a method. For example:

"action"

void method()
java.lang.Object method()

"actionListener"

void method()
void method(javax.faces.event.ActionEvent )

It could be useful to allow something like this

<cc:attribute
name="submitActionListener"
method-signature="void method();void method(javax.faces.event.ActionEvent )"/>

This is required to allow the new targetAttributeName to work as expected,
because in this case it is required to define method-signature property for
action, actionListener and valueChangeListener.



 Comments   
Comment by lu4242 [ 03/Nov/10 ]

Created an attachment (id=334)
Proposed patch solving this problem

Comment by Ed Burns [ 01/Aug/14 ]

Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

Generated at Thu Apr 27 19:18:38 UTC 2017 using JIRA 6.2.3#6260-sha1:63ef1d6dac3f4f4d7db4c1effd405ba38ccdc558.