From: erik Date: Mon, 26 Jul 2010 17:20:40 +0000 (+0000) Subject: (no commit message) X-Git-Tag: wamblee-utils-0.5~66 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=5d53ad8d6724ec83d8774ce15f6fd6435939447b;p=utils --- 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 index 00000000..7a0a3e2d --- /dev/null +++ b/wicket/components/src/main/java/org/wamblee/wicket/css/ResetCssBehavior.java @@ -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 index 00000000..4f07e205 --- /dev/null +++ b/wicket/components/src/main/java/org/wamblee/wicket/css/package-info.java @@ -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; +