myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rudy De Busscher <>
Subject How do I get the Method EL Expression of actionListener in JSF 2.0?
Date Mon, 07 Feb 2011 14:48:42 GMT
Hi all,

For an ExtVal-addon I need to have access to the expression string of the
actionListener property of a command button.

So when i have
*<h:commandButton id="check" value="Validate"
I need #{personBean.someActionListener}.

In JSF 1.X, you could get the MethodBinding by calling
*actionCommand.getActionListener() *
but now it returns null. *The method is deprecated but maybe this is a bug
that the old behaviour isn't respected?*

I can access the actionListener by calling
but then I get the interface object back and not the underlying

Anyone an idea?


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message