click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r962388 - /click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java
Date Fri, 09 Jul 2010 02:09:43 GMT
Author: sabob
Date: Fri Jul  9 02:09:43 2010
New Revision: 962388

URL: http://svn.apache.org/viewvc?rev=962388&view=rev
Log:
ajax behavior is now a concrete class

Modified:
    click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java

Modified: click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java
URL: http://svn.apache.org/viewvc/click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java?rev=962388&r1=962387&r2=962388&view=diff
==============================================================================
--- click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java (original)
+++ click/trunk/click/framework/src/org/apache/click/ajax/AjaxBehavior.java Fri Jul  9 02:09:43
2010
@@ -29,7 +29,7 @@ import org.apache.click.Partial;
  *
  * TODO: javadoc
  */
-public abstract class AjaxBehavior implements Behavior, Serializable {
+public class AjaxBehavior implements Behavior, Serializable {
 
     // Constants --------------------------------------------------------------
 
@@ -45,9 +45,11 @@ public abstract class AjaxBehavior imple
      * @see org.apache.click.Behavior#onAction(org.apache.click.Control)
      *
      * @param source the control the behavior is attached to
-     * @return
+     * @return the partial response
      */
-    public abstract Partial onAction(Control source);
+    public Partial onAction(Control source) {
+        return null;
+    }
 
     /**
      * TODO: javadoc
@@ -90,4 +92,4 @@ public abstract class AjaxBehavior imple
         // NOTE: if this method is ever made public the headElementsProcessed
         // check should be done here
     }
-}
+}



Mime
View raw message