You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by jb...@apache.org on 2007/06/24 17:07:29 UTC

svn commit: r550246 - in /incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages: Home.html Home.java

Author: jbq
Date: Sun Jun 24 08:07:28 2007
New Revision: 550246

URL: http://svn.apache.org/viewvc?view=rev&rev=550246
Log:
Add an example with a Wicket bookmarkable page, and give an example to send a
Wicket page by email

Modified:
    incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.html
    incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.java

Modified: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.html
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.html?view=diff&rev=550246&r1=550245&r2=550246
==============================================================================
--- incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.html (original)
+++ incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.html Sun Jun 24 08:07:28 2007
@@ -51,6 +51,7 @@
 			<li><a wicket:id="helloxslt">Hello World as a Static Page with XSLT
 				layout</a></li>
 			<li><a wicket:id="wicketpage">Passing URI to a Wicket page</a></li>
+			<li><a wicket:id="emailwicketpage">Sending a Wicket page by email</a></li>
 		</ul>
 
 		<p>NOTE: it is possible to serve any kind of content using this method, not

Modified: incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.java
URL: http://svn.apache.org/viewvc/incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.java?view=diff&rev=550246&r1=550245&r2=550246
==============================================================================
--- incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.java (original)
+++ incubator/wicket/trunk/jdk-1.5/wicket-examples/src/main/java/org/apache/wicket/examples/staticpages/Home.java Sun Jun 24 08:07:28 2007
@@ -43,6 +43,8 @@
 		add(new StaticLink("helloxslt", new Model("xsldocs/hello.html")));
 		// Passing URI to a Wicket page
 		add(new StaticLink("wicketpage", new Model("pages/path/to/hello.html")));
+		// Sending a Wicket page by email
+		add(new StaticLink("emailwicketpage", new Model("pages/path/to/hello.html?email=true")));
 	}
 
 	private class StaticLink extends WebMarkupContainer