You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@click.apache.org by sa...@apache.org on 2010/06/26 14:00:53 UTC
svn commit: r958212 -
/click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java
Author: sabob
Date: Sat Jun 26 12:00:53 2010
New Revision: 958212
URL: http://svn.apache.org/viewvc?rev=958212&view=rev
Log:
fixed event dispatcher clear() method to clear behaviors as well.
Modified:
click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java
Modified: click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java?rev=958212&r1=958211&r2=958212&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ActionEventDispatcher.java Sat Jun 26 12:00:53 2010
@@ -415,6 +415,9 @@ public class ActionEventDispatcher {
if (hasActionEvents()) {
getEventSourceList().clear();
getEventListenerList().clear();
+ }
+
+ if (hasBehaviorSourceSet()) {
getBehaviorSourceSet().clear();
}
}