me0wster / javamelody

Automatically exported from code.google.com/p/javamelody
0 stars 0 forks source link

Patch for /trunk/javamelody-core/src/main/java/net/bull/javamelody/JsfActionListener.java #206

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In JSF 2.0 you need to delegate the ActionListener to the next ActionListener 
if one was defined in your faces-config.xml file. Also make sure that you 
implement against the ActionListener interface in order to fulfill the JSF2.0 
ActionListener contract

Original issue reported on code.google.com by patrick....@gmail.com on 3 Apr 2012 at 3:39

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you for the patch.
Note that the JSF action listener is currently added only if Mojarra is 
available, as can be seen here:
http://code.google.com/p/javamelody/source/browse/trunk/javamelody-core/src/main
/java/net/bull/javamelody/FilterContext.java#91

Original comment by evernat@free.fr on 5 Apr 2012 at 8:17

GoogleCodeExporter commented 9 years ago

Original comment by evernat@free.fr on 5 Apr 2012 at 11:47

GoogleCodeExporter commented 9 years ago
It is now included in trunk (revision 2720) after a merge with the current 
version, and ready for the next release (1.37).

If you don't want to wait until the 1.37 release, I have made a new build from 
the current trunk and it is available at:
http://javamelody.googlecode.com/files/javamelody-20120405.jar

Original comment by evernat@free.fr on 5 Apr 2012 at 11:54