Author: jbq
Date: Mon Feb 19 11:05:50 2007
New Revision: 509300
URL: http://svn.apache.org/viewvc?view=rev&rev=509300
Log:
Adding missing SVN properties
Modified:
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/StartJetty.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/WicketEventReference.java
(contents, props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/wicket-event.js
(contents, props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/TestFilePageStore.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebRequestCycleProcessor.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/AbstractPortletRequestCycleProcessor.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/urlcompressing/UrlCompressingWebCodingStrategy.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/urlcompressing/UrlCompressingWebRequestProcessor.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/urlcompressing/UrlCompressor.java
(props changed)
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/request/AbstractRequestCycleProcessor.java
(props changed)
Propchange:
incubator/wicket/branches/wicket-1.x/wicket-threadtest/src/main/java/wicket/threadtest/StartJetty.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/WicketEventReference.java
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/WicketEventReference.java?view=diff&rev=509300&r1=509299&r2=509300
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/WicketEventReference.java
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/WicketEventReference.java
Mon Feb 19 11:05:50 2007
@@ -1,43 +1,43 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package wicket.markup.html;
-
-import wicket.ResourceReference;
-import wicket.markup.html.resources.JavascriptResourceReference;
-
-/**
- * Resource reference to wicket-event.js which is used to allow events via
- * javascript
- *
- * @author ivaynberg
- */
-public class WicketEventReference extends JavascriptResourceReference
-{
- private static final long serialVersionUID = 1L;
-
- /**
- * Singleton instance of this reference
- */
- public static final ResourceReference INSTANCE = new
WicketEventReference();
-
- private WicketEventReference()
- {
- super(WicketEventReference.class, "wicket-event.js");
- }
-
-
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package wicket.markup.html;
+
+import wicket.ResourceReference;
+import wicket.markup.html.resources.JavascriptResourceReference;
+
+/**
+ * Resource reference to wicket-event.js which is used to allow events via
+ * javascript
+ *
+ * @author ivaynberg
+ */
+public class WicketEventReference extends JavascriptResourceReference
+{
+ private static final long serialVersionUID = 1L;
+
+ /**
+ * Singleton instance of this reference
+ */
+ public static final ResourceReference INSTANCE = new
WicketEventReference();
+
+ private WicketEventReference()
+ {
+ super(WicketEventReference.class, "wicket-event.js");
+ }
+
+
+}
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/WicketEventReference.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/wicket-event.js
URL:
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/wicket-event.js?view=diff&rev=509300&r1=509299&r2=509300
==============================================================================
---
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/wicket-event.js
(original)
+++
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/wicket-event.js
Mon Feb 19 11:05:50 2007
@@ -1,123 +1,123 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- * Wicket Ajax Support
- *
- * @author Igor Vaynberg
- * @author Matej Knopp
- */
-
-if (Function.prototype.bind == null) {
- Function.prototype.bind = function(object) {
- var __method = this;
- return function() {
- return __method.apply(object, arguments);
- }
- }
-}
-
-// Wicket Namespace
-
-if (typeof(Wicket) == "undefined")
- Wicket = { };
-
-/**
- * Events related code
- * Based on code from Mootools (http://mootools.net)
- */
-
-Wicket.Event = {
- // adds an event of specified type to the element
- // also supports the domready event on window
- // domready is event fired when the DOM is complete, but before loading
external resources (images, ...)
- add: function(element, type, fn) {
- // is the event domready?
- if (element == window && type == "domready") {
- Wicket.Event.addDomReadyEvent(fn);
- } else {
- if (element.addEventListener){
- element.addEventListener((type == 'mousewheel'
&& window.gecko) ? 'DOMMouseScroll' : type, fn, false);
- } else {
- fn = fn.bind(element);
- element.attachEvent('on'+type, fn);
- }
- }
- return element;
- },
-
- // handlers that will be fired on dom ready event
- domReadyHandlers : new Array(),
-
- // fires the dom ready event and cleanup the handlers
- fireDomReadyHandlers : function() {
- var h = Wicket.Event.domReadyHandlers;
- while (h.length > 0) {
- var c = h.shift();
- c();
- }
- Wicket.Event.domReadyHandlers = null;
- },
-
- // adds the dom ready event
- addDomReadyEvent : function(fn) {
- // is the window already loaded?
- if (window.loaded) {
- fn();
- } else if (!window.events || !window.events.domready) {
- // register the handler
- Wicket.Event.domReadyHandlers.push(fn);
-
- // callback
- var domReady = function() {
- if (window.loaded)
- return;
- window.loaded = true;
-
- // if there was a timer, clean it (khtml,
safari)
- if (Wicket.Event.domReadyTimer) {
-
clearTimeout(Wicket.Event.domReadyTimer);
- Wicket.Event.domReadyTimer = null;
- }
-
- // invoke the handlers
- Wicket.Event.fireDomReadyHandlers();
- }.bind(this);
-
- if (document.readyState && (Wicket.Browser.isKHTML() ||
Wicket.Browser.isSafari())) {
- //safari and konqueror don't support the event -
simulate it through a timeou
- Wicket.Event.domReadyTimer =
window.setTimeout(function() {
- if (document.readyState == "loaded" ||
- document.readyState == "complete") {
- domReady();
- }
- }, 1);
- } else if (document.readyState &&
Wicket.Browser.isIE()) {
- // internet explorer - use script with defer
attribute
- document.write("<script id=ie_ready defer
src=javascript:void(0)><\/script>");
-
document.getElementById('ie_ready').onreadystatechange = function() {
- if (this.readyState == 'complete')
domReady();
- };
- } else {
- // other browsers
- Wicket.Event.add(document, "DOMContentLoaded",
domReady);
- }
- } else {
- window.addEventListener("domready", fn, false);
- }
- }
-}
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/*
+ * Wicket Ajax Support
+ *
+ * @author Igor Vaynberg
+ * @author Matej Knopp
+ */
+
+if (Function.prototype.bind == null) {
+ Function.prototype.bind = function(object) {
+ var __method = this;
+ return function() {
+ return __method.apply(object, arguments);
+ }
+ }
+}
+
+// Wicket Namespace
+
+if (typeof(Wicket) == "undefined")
+ Wicket = { };
+
+/**
+ * Events related code
+ * Based on code from Mootools (http://mootools.net)
+ */
+
+Wicket.Event = {
+ // adds an event of specified type to the element
+ // also supports the domready event on window
+ // domready is event fired when the DOM is complete, but before loading
external resources (images, ...)
+ add: function(element, type, fn) {
+ // is the event domready?
+ if (element == window && type == "domready") {
+ Wicket.Event.addDomReadyEvent(fn);
+ } else {
+ if (element.addEventListener){
+ element.addEventListener((type == 'mousewheel'
&& window.gecko) ? 'DOMMouseScroll' : type, fn, false);
+ } else {
+ fn = fn.bind(element);
+ element.attachEvent('on'+type, fn);
+ }
+ }
+ return element;
+ },
+
+ // handlers that will be fired on dom ready event
+ domReadyHandlers : new Array(),
+
+ // fires the dom ready event and cleanup the handlers
+ fireDomReadyHandlers : function() {
+ var h = Wicket.Event.domReadyHandlers;
+ while (h.length > 0) {
+ var c = h.shift();
+ c();
+ }
+ Wicket.Event.domReadyHandlers = null;
+ },
+
+ // adds the dom ready event
+ addDomReadyEvent : function(fn) {
+ // is the window already loaded?
+ if (window.loaded) {
+ fn();
+ } else if (!window.events || !window.events.domready) {
+ // register the handler
+ Wicket.Event.domReadyHandlers.push(fn);
+
+ // callback
+ var domReady = function() {
+ if (window.loaded)
+ return;
+ window.loaded = true;
+
+ // if there was a timer, clean it (khtml,
safari)
+ if (Wicket.Event.domReadyTimer) {
+
clearTimeout(Wicket.Event.domReadyTimer);
+ Wicket.Event.domReadyTimer = null;
+ }
+
+ // invoke the handlers
+ Wicket.Event.fireDomReadyHandlers();
+ }.bind(this);
+
+ if (document.readyState && (Wicket.Browser.isKHTML() ||
Wicket.Browser.isSafari())) {
+ //safari and konqueror don't support the event -
simulate it through a timeou
+ Wicket.Event.domReadyTimer =
window.setTimeout(function() {
+ if (document.readyState == "loaded" ||
+ document.readyState == "complete") {
+ domReady();
+ }
+ }, 1);
+ } else if (document.readyState &&
Wicket.Browser.isIE()) {
+ // internet explorer - use script with defer
attribute
+ document.write("<script id=ie_ready defer
src=javascript:void(0)><\/script>");
+
document.getElementById('ie_ready').onreadystatechange = function() {
+ if (this.readyState == 'complete')
domReady();
+ };
+ } else {
+ // other browsers
+ Wicket.Event.add(document, "DOMContentLoaded",
domReady);
+ }
+ } else {
+ window.addEventListener("domready", fn, false);
+ }
+ }
+}
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/markup/html/wicket-event.js
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/TestFilePageStore.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/WebRequestCycleProcessor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/portlet/AbstractPortletRequestCycleProcessor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/urlcompressing/UrlCompressingWebCodingStrategy.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/urlcompressing/UrlCompressingWebRequestProcessor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/request/urlcompressing/UrlCompressor.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/request/AbstractRequestCycleProcessor.java
------------------------------------------------------------------------------
svn:eol-style = native