(no commit message)
authorErik Brakkee <erik@brakkee.org>
Mon, 26 Jul 2010 17:20:40 +0000 (17:20 +0000)
committerErik Brakkee <erik@brakkee.org>
Mon, 26 Jul 2010 17:20:40 +0000 (17:20 +0000)
wicket/components/src/main/java/org/wamblee/wicket/css/ResetCssBehavior.java [new file with mode: 0644]
wicket/components/src/main/java/org/wamblee/wicket/css/package-info.java [new file with mode: 0644]

diff --git a/wicket/components/src/main/java/org/wamblee/wicket/css/ResetCssBehavior.java b/wicket/components/src/main/java/org/wamblee/wicket/css/ResetCssBehavior.java
new file mode 100644 (file)
index 0000000..7a0a3e2
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * Copyright 2005-2010 the original author or authors.
+ * 
+ * Licensed 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 org.wamblee.wicket.css;
+
+import org.apache.wicket.behavior.HeaderContributor;
+import org.apache.wicket.markup.html.CSSPackageResource;
+import org.apache.wicket.markup.html.JavascriptPackageResource;
+
+/**
+ * Reset CSS style to obtain more uniform browser behavior.
+ * 
+ * @author Erik Brakkee
+ */
+public class ResetCssBehavior extends HeaderContributor {
+
+    /**
+     * Constructs the behavior.
+     */
+    public ResetCssBehavior() {
+        super(CSSPackageResource.getHeaderContribution(ResetCssBehavior.class,
+            "reset.css"));
+    }
+
+}
diff --git a/wicket/components/src/main/java/org/wamblee/wicket/css/package-info.java b/wicket/components/src/main/java/org/wamblee/wicket/css/package-info.java
new file mode 100644 (file)
index 0000000..4f07e20
--- /dev/null
@@ -0,0 +1,20 @@
+/*
+ * Copyright 2005-2010 the original author or authors.
+ * 
+ * Licensed 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.
+ */
+/**
+ * This package contains css related classes.
+ */
+package org.wamblee.wicket.css;
+