I\'m implementing a composite component and I found a issue which I didn\'t find a solution.
I specified its attributes that can or not be passed by the page author,
Had the same exact error and needed to have an optional action method on my component too.
So I have tried adding a default parameter on the composite attribute with the method-signature, pointing to a method on the corresponding FacesComponent class and it works great!
Component:
FacesComponent class:
@FacesComponent("myButton")
public class MyButton extends UINamingContainer {
public MyButton () {
}
public String dummyAction() {
return "";
}
}