From 6c7144b415bc4e57999080462274c1b61312bc0d Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 23 Jul 2010 14:53:18 +0000 Subject: [PATCH] --- .../behavior/WebApplicationBasePage.java | 60 +++++++++++++++++++ .../wamblee/wicket/behavior/package-info.java | 19 ++++++ 2 files changed, 79 insertions(+) create mode 100644 wicket/components/src/main/java/org/wamblee/wicket/behavior/WebApplicationBasePage.java create mode 100644 wicket/components/src/main/java/org/wamblee/wicket/behavior/package-info.java diff --git a/wicket/components/src/main/java/org/wamblee/wicket/behavior/WebApplicationBasePage.java b/wicket/components/src/main/java/org/wamblee/wicket/behavior/WebApplicationBasePage.java new file mode 100644 index 00000000..9b89818c --- /dev/null +++ b/wicket/components/src/main/java/org/wamblee/wicket/behavior/WebApplicationBasePage.java @@ -0,0 +1,60 @@ +/* + * 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.behavior; + +import org.apache.wicket.IPageMap; +import org.apache.wicket.PageParameters; +import org.apache.wicket.markup.html.WebPage; +import org.apache.wicket.model.IModel; + +/** + * Base page for wicket applications that allows customization of various bahaviors of the + * page. This page has no associated markup. + * + * @author Erik Brakkee + * + */ +public class WebApplicationBasePage extends WebPage { + + protected WebApplicationBasePage() { + super(); + } + + protected WebApplicationBasePage(final IModel model) + { + super(model); + } + + protected WebApplicationBasePage(final IPageMap pageMap) + { + super(pageMap); + } + + protected WebApplicationBasePage(final IPageMap pageMap, final IModel model) + { + super(pageMap, model); + } + + protected WebApplicationBasePage(final PageParameters parameters) + { + super(parameters); + } + + protected WebApplicationBasePage(final IPageMap pageMap, final PageParameters parameters) + { + super(pageMap, parameters); + } +} diff --git a/wicket/components/src/main/java/org/wamblee/wicket/behavior/package-info.java b/wicket/components/src/main/java/org/wamblee/wicket/behavior/package-info.java new file mode 100644 index 00000000..8f89c6c7 --- /dev/null +++ b/wicket/components/src/main/java/org/wamblee/wicket/behavior/package-info.java @@ -0,0 +1,19 @@ +/* + * 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 various utilities for behaviors on components and pages. + */ +package org.wamblee.wicket.behavior; \ No newline at end of file -- 2.31.1