You need to declare it as an expression of an EL method, and not as a regular string.
actionListener="#{Bean.listenerMethod}"
Of course, there #{Bean}must be a valid managed bean with a managed name bean "Bean", which in turn contains the following method
public void listenerMethod(ActionEvent event) {
}
where ActionEventfrom the package javax.faces, not java.awt.
If this still does not work, then it is caused by something else. For instance. the form is nested, the attribute is renderedevaluated false, etc. For a review, see this answer .