]
Pete Muir closed JBSEAM-2614.
-----------------------------
Resolution: Done
Because this is the API. Read the javadoc of @RaiseEvent.
RaiseEvent annotation does not fire if method return value is null
------------------------------------------------------------------
Key: JBSEAM-2614
URL:
http://jira.jboss.com/jira/browse/JBSEAM-2614
Project: JBoss Seam
Issue Type: Bug
Components: Core
Affects Versions: 2.0.1.GA
Environment: MacOS X 10.5, Glassfish v2u1, JDK 1.5
Reporter: Cyrill Rᅢᄐttimann
Priority: Minor
Methods with the annotation @RaiseEvent do not fire the event if the return value of the
method is null:
Excerpt from EventInterceptor.java:
if ( result!=null || method.getReturnType().equals(void.class) ) {
I do not see why methods returning null should not fire the event. Since navigation in
seam is typically based on the return values of the methods, returning null is a common
case.
Regards,
Cyrill
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: