01: /*
02: * $Id: NestedApplication.java 461610 2006-07-27 08:15:21Z knopp $ $Revision:
03: * 3646 $ $Date: 2006-07-27 10:15:21 +0200 (Thu, 27 Jul 2006) $
04: *
05: * ==================================================================== Licensed
06: * under the Apache License, Version 2.0 (the "License"); you may not use this
07: * file except in compliance with the License. You may obtain a copy of the
08: * License at
09: *
10: * http://www.apache.org/licenses/LICENSE-2.0
11: *
12: * Unless required by applicable law or agreed to in writing, software
13: * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
14: * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
15: * License for the specific language governing permissions and limitations under
16: * the License.
17: */
18: package wicket.examples.nested;
19:
20: import wicket.examples.WicketExampleApplication;
21:
22: /**
23: * WicketServlet class for nested structure example.
24: *
25: * @author Eelco Hillenius
26: */
27: public class NestedApplication extends WicketExampleApplication {
28: /**
29: * Constructor.
30: */
31: public NestedApplication() {
32: }
33:
34: /**
35: * Initialize the application
36: */
37: protected void init() {
38: super .init();
39: // disable debugging mode, because it slows down the tree
40: getAjaxSettings().setAjaxDebugModeEnabled(false);
41: }
42:
43: /**
44: * @see wicket.Application#getHomePage()
45: */
46: public Class getHomePage() {
47: return Home.class;
48: }
49:
50: }
|