WICKET-3367
Rewrite all JavaScript inline event handlers to be proper attached event 
handlers

Update javadoc - the event's name should not be prefixed with 'on'.


Project: http://git-wip-us.apache.org/repos/asf/wicket/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/e5fbf569
Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/e5fbf569
Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/e5fbf569

Branch: refs/heads/master
Commit: e5fbf5699973fc7f298b75f2f302272dfdb1e6a0
Parents: ae6d032
Author: Martin Tzvetanov Grigorov <[email protected]>
Authored: Wed Jan 18 10:02:43 2012 +0100
Committer: Martin Tzvetanov Grigorov <[email protected]>
Committed: Wed Jan 18 10:02:43 2012 +0100

----------------------------------------------------------------------
 .../wicket/ajax/form/OnChangeAjaxBehavior.java     |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/e5fbf569/wicket-core/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java
----------------------------------------------------------------------
diff --git 
a/wicket-core/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java
 
b/wicket-core/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java
index 5b4b831..56b404d 100644
--- 
a/wicket-core/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java
+++ 
b/wicket-core/src/main/java/org/apache/wicket/ajax/form/OnChangeAjaxBehavior.java
@@ -36,7 +36,7 @@ public abstract class OnChangeAjaxBehavior extends 
AjaxFormComponentUpdatingBeha
        private static final long serialVersionUID = 1L;
 
        /**
-        * The name of the special event that delegates to 'oninput', 
'onkeyup', 'oncut' and 'onpaste'
+        * The name of the special event that delegates to 'input', 'keyup', 
'cut' and 'paste' events
         * depending on the browser.
         */
        public static final String EVENT_NAME = "inputchange";

Reply via email to