click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r1027864 - /click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Date Wed, 27 Oct 2010 09:15:28 GMT
Author: sabob
Date: Wed Oct 27 09:15:28 2010
New Revision: 1027864

URL: http://svn.apache.org/viewvc?rev=1027864&view=rev
Log:
Moved Ajax functionality into AjaxBehavior

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java?rev=1027864&r1=1027863&r2=1027864&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
(original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/AutoCompleteTextField.java
Wed Oct 27 09:15:28 2010
@@ -29,6 +29,7 @@ import org.apache.click.Control;
 import org.apache.click.Page;
 import org.apache.click.ActionResult;
 import org.apache.click.ajax.AjaxBehavior;
+import org.apache.click.ajax.DefaultAjaxBehavior;
 import org.apache.click.control.TextField;
 import org.apache.click.element.CssImport;
 import org.apache.click.element.Element;
@@ -450,8 +451,7 @@ public abstract class AutoCompleteTextFi
      * @return the field Ajax behavior instance
      */
     protected Behavior createBehavior() {
-        AjaxBehavior internalBehavior = new AjaxBehavior() {
-            private static final long serialVersionUID = 1L;
+        AjaxBehavior internalBehavior = new DefaultAjaxBehavior() {
 
             @Override
             public ActionResult onAction(Control source) {



Mime
View raw message