01: /*
02: * $Id$ $Revision$ $Date$
03: *
04: * ==============================================================================
05: * Licensed under the Apache License, Version 2.0 (the "License"); you may not
06: * use this file except in compliance with the License. You may obtain a copy of
07: * the License at
08: *
09: * http://www.apache.org/licenses/LICENSE-2.0
10: *
11: * Unless required by applicable law or agreed to in writing, software
12: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14: * License for the specific language governing permissions and limitations under
15: * the License.
16: */
17: package wicket.examples.template;
18:
19: /**
20: * Our base page that serves as a template for pages that inherit from it.
21: * Doesn't have to be abstract, but was made abstract here to stress the fact
22: * that this page is not meant for direct use.
23: *
24: * @author Eelco Hillenius
25: */
26: public class Page1 extends TemplatePage {
27: /**
28: * Constructor
29: */
30: public Page1() {
31: super ();
32: setPageTitle("Template example, page 1");
33: add(new Panel1("panel1"));
34: }
35: }
|