You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by mg...@apache.org on 2014/02/13 17:07:19 UTC

[1/2] git commit: Explicitly depend on commons-io:2.4 because commons-fileupload:1.3.1 brings 2.2 as its own dependency

Updated Branches:
  refs/heads/master 9038c3851 -> 9d0c65e33


Explicitly depend on commons-io:2.4 because commons-fileupload:1.3.1 brings 2.2 as its own dependency


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

Branch: refs/heads/master
Commit: 8f6d6029599283d9371d0900564ae4eb67b2713f
Parents: 9038c38
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Wed Feb 12 16:08:40 2014 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Wed Feb 12 16:08:40 2014 +0200

----------------------------------------------------------------------
 wicket-util/pom.xml | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/8f6d6029/wicket-util/pom.xml
----------------------------------------------------------------------
diff --git a/wicket-util/pom.xml b/wicket-util/pom.xml
index 3c4a4045..410a232 100755
--- a/wicket-util/pom.xml
+++ b/wicket-util/pom.xml
@@ -32,6 +32,11 @@
 			<version>1.3.1</version>
 		</dependency>
 		<dependency>
+			<groupId>commons-io</groupId>
+			<artifactId>commons-io</artifactId>
+			<version>2.4</version>
+		</dependency>
+		<dependency>
 			<groupId>junit</groupId>
 			<artifactId>junit</artifactId>
 			<scope>provided</scope>


[2/2] git commit: Improve the error message when an element cannot be found to bind an event listener

Posted by mg...@apache.org.
Improve the error message when an element cannot be found to bind an event listener

(cherry picked from commit d08c7c86b320b1a57546b0d5cc046553d54155b6)


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

Branch: refs/heads/master
Commit: 9d0c65e3324180239487d8b264a8c155e2d8d493
Parents: 8f6d602
Author: Martin Tzvetanov Grigorov <mg...@apache.org>
Authored: Thu Feb 13 18:06:19 2014 +0200
Committer: Martin Tzvetanov Grigorov <mg...@apache.org>
Committed: Thu Feb 13 18:07:09 2014 +0200

----------------------------------------------------------------------
 .../java/org/apache/wicket/ajax/res/js/wicket-event-jquery.js     | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/wicket/blob/9d0c65e3/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-event-jquery.js
----------------------------------------------------------------------
diff --git a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-event-jquery.js b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-event-jquery.js
index 17663d8..f814897 100644
--- a/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-event-jquery.js
+++ b/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-event-jquery.js
@@ -162,7 +162,8 @@
 						}
 
 						if (!el && Wicket.Log) {
-							Wicket.Log.error('Cannot find element with id: ' + element);
+							Wicket.Log.error('Cannot bind a listener for event "' + type +
+								'" on element "' + element + '" because the element is not in the DOM');
 						}
 
 						jQuery(el).on(type, data, fn);