@JsfComponent(name = "myCustomComponent", components = { "inputText" }) public class MyCustomComponent { @Property(defaultValue = "10") private int maxLength; @EventHandler(event = "click", target = "myButton") public void handleClickEvents() { } }