Updated Branches: refs/heads/master 2b03db342 -> 0d7b1c496
added missing new files Project: http://git-wip-us.apache.org/repos/asf/wicket/repo Commit: http://git-wip-us.apache.org/repos/asf/wicket/commit/0d7b1c49 Tree: http://git-wip-us.apache.org/repos/asf/wicket/tree/0d7b1c49 Diff: http://git-wip-us.apache.org/repos/asf/wicket/diff/0d7b1c49 Branch: refs/heads/master Commit: 0d7b1c496afaa2e916ec4c60210666daac61d813 Parents: 2b03db3 Author: svenmeier <[email protected]> Authored: Fri Nov 16 11:10:30 2012 +0100 Committer: svenmeier <[email protected]> Committed: Fri Nov 16 11:10:30 2012 +0100 ---------------------------------------------------------------------- .../apache/wicket/examples/niceurl/Page2UP.html | 20 +++++++ .../apache/wicket/examples/niceurl/Page2UP.java | 41 +++++++++++++++ 2 files changed, 61 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/wicket/blob/0d7b1c49/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.html ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.html b/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.html new file mode 100644 index 0000000..47638a0 --- /dev/null +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.html @@ -0,0 +1,20 @@ +<html xmlns:wicket="http://wicket.apache.org"> +<head> + <title>Wicket Examples - niceurl</title> + <link rel="stylesheet" type="text/css" href="style.css"/> +</head> +<body> + + <span wicket:id = "mainNavigation"/> + + <h2>Welcome to Page2</h2> + + <p><a wicket:id="homeLink" href="#">[go back]</a></p> + + param1: <span wicket:id="p1">param1</span><br/> + param2: <span wicket:id="p2">param2</span><br/> + +<br/><br/> +<a href="#" wicket:id="refreshLink">refresh with different params</a> +</body> +</html> http://git-wip-us.apache.org/repos/asf/wicket/blob/0d7b1c49/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.java ---------------------------------------------------------------------- diff --git a/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.java b/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.java new file mode 100644 index 0000000..1c49b0d --- /dev/null +++ b/wicket-examples/src/main/java/org/apache/wicket/examples/niceurl/Page2UP.java @@ -0,0 +1,41 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You 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.apache.wicket.examples.niceurl; + +import org.apache.wicket.request.mapper.parameter.PageParameters; +import org.apache.wicket.request.mapper.parameter.UrlPathPageParametersEncoder; + +/** + * Simple bookmarkable page that displays page parameters which is mounted with + * {@link UrlPathPageParametersEncoder}. + * <p> + * This is how pages where mounted in Wicket 1.4 by default. + * + * @author Sven Meier + */ +public class Page2UP extends Page2 +{ + /** + * Constructor + * + * @param parameters + */ + public Page2UP(PageParameters parameters) + { + super(parameters); + } +}
