01: /*
02: * $Id: Page1.java 458397 2005-12-29 10:09:06Z jdonnerstag $ $Revision: 458397 $
03: * $Date: 2005-12-29 11:09:06 +0100 (Thu, 29 Dec 2005) $
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.niceurl;
19:
20: import wicket.PageParameters;
21: import wicket.examples.WicketExamplePage;
22: import wicket.markup.html.link.BookmarkablePageLink;
23:
24: /**
25: * Simple bookmarkable page.
26: *
27: * @author Eelco Hillenius
28: */
29: public class Page1 extends WicketExamplePage {
30: /**
31: * Constructor
32: *
33: * @param parameters
34: */
35: public Page1(PageParameters parameters) {
36: add(new BookmarkablePageLink("homeLink", Home.class));
37: }
38: }
|