You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by da...@apache.org on 2018/05/23 12:49:17 UTC
[7/7] wicket-site git commit: Announce wicket 8
Announce wicket 8
Project: http://git-wip-us.apache.org/repos/asf/wicket-site/repo
Commit: http://git-wip-us.apache.org/repos/asf/wicket-site/commit/9a028310
Tree: http://git-wip-us.apache.org/repos/asf/wicket-site/tree/9a028310
Diff: http://git-wip-us.apache.org/repos/asf/wicket-site/diff/9a028310
Branch: refs/heads/asf-site
Commit: 9a028310cce631828c9733988a14e5457f04b2f6
Parents: 8baec90
Author: Martijn Dashorst <ma...@topicus.nl>
Authored: Wed May 23 14:48:44 2018 +0200
Committer: Martijn Dashorst <ma...@topicus.nl>
Committed: Wed May 23 14:48:44 2018 +0200
----------------------------------------------------------------------
2018/_posts/2018-05-22-wicket-8-released.md | 108 ++++++++
8/index.md | 153 -----------
content/8/index.html | 193 --------------
content/atom.xml | 264 ++++++++-----------
content/index.html | 199 ++++++++++----
content/learn/index.html | 6 +-
.../learn/presentations/wicketIntroduction.pdf | Bin 0 -> 1941333 bytes
content/news/2009/07/index.html | 1 +
content/news/2009/08/index.html | 1 +
content/news/2009/10/index.html | 1 +
content/news/2009/12/index.html | 1 +
content/news/2009/index.html | 1 +
content/news/2010/02/index.html | 1 +
content/news/2010/03/index.html | 1 +
content/news/2010/05/index.html | 1 +
content/news/2010/08/index.html | 1 +
content/news/2010/09/index.html | 1 +
content/news/2010/11/index.html | 1 +
content/news/2010/12/index.html | 1 +
content/news/2010/index.html | 1 +
content/news/2011/01/index.html | 1 +
content/news/2011/02/index.html | 1 +
content/news/2011/03/index.html | 1 +
content/news/2011/04/index.html | 1 +
content/news/2011/05/index.html | 1 +
content/news/2011/06/index.html | 1 +
content/news/2011/08/index.html | 1 +
content/news/2011/09/index.html | 1 +
content/news/2011/10/index.html | 1 +
content/news/2011/11/index.html | 1 +
content/news/2011/index.html | 1 +
content/news/2012/01/index.html | 1 +
content/news/2012/03/index.html | 1 +
content/news/2012/05/index.html | 1 +
content/news/2012/06/index.html | 1 +
content/news/2012/07/index.html | 1 +
content/news/2012/08/index.html | 1 +
content/news/2012/09/index.html | 1 +
content/news/2012/10/index.html | 1 +
content/news/2012/11/index.html | 1 +
content/news/2012/12/index.html | 1 +
content/news/2012/index.html | 1 +
content/news/2013/01/index.html | 1 +
content/news/2013/02/index.html | 1 +
content/news/2013/03/index.html | 1 +
content/news/2013/04/index.html | 1 +
content/news/2013/05/index.html | 1 +
content/news/2013/06/index.html | 1 +
content/news/2013/07/index.html | 1 +
content/news/2013/08/index.html | 1 +
content/news/2013/09/index.html | 1 +
content/news/2013/11/index.html | 1 +
content/news/2013/index.html | 1 +
content/news/2014/01/index.html | 1 +
content/news/2014/02/index.html | 1 +
content/news/2014/04/index.html | 1 +
content/news/2014/06/index.html | 1 +
content/news/2014/08/index.html | 1 +
content/news/2014/09/index.html | 1 +
content/news/2014/11/index.html | 1 +
content/news/2014/index.html | 1 +
content/news/2015/02/index.html | 1 +
content/news/2015/06/index.html | 1 +
content/news/2015/07/index.html | 1 +
content/news/2015/10/index.html | 1 +
content/news/2015/11/index.html | 1 +
content/news/2015/index.html | 1 +
content/news/2016/01/index.html | 1 +
content/news/2016/02/index.html | 1 +
content/news/2016/03/index.html | 1 +
content/news/2016/05/index.html | 1 +
content/news/2016/07/index.html | 1 +
content/news/2016/08/index.html | 1 +
content/news/2016/10/index.html | 1 +
content/news/2016/11/index.html | 1 +
content/news/2016/12/index.html | 1 +
content/news/2016/index.html | 1 +
content/news/2017/02/index.html | 1 +
content/news/2017/03/index.html | 1 +
content/news/2017/05/index.html | 1 +
content/news/2017/07/index.html | 1 +
content/news/2017/08/index.html | 1 +
content/news/2017/09/index.html | 1 +
content/news/2017/10/index.html | 1 +
content/news/2017/index.html | 1 +
content/news/2018/02/index.html | 1 +
content/news/2018/05/22/wicket-8-released.html | 126 +++++++++
content/news/2018/05/index.html | 179 +++++++++++++
content/news/2018/index.html | 13 +
content/news/index.html | 7 +
index.md | 145 ++++++++++
91 files changed, 916 insertions(+), 556 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/2018/_posts/2018-05-22-wicket-8-released.md
----------------------------------------------------------------------
diff --git a/2018/_posts/2018-05-22-wicket-8-released.md b/2018/_posts/2018-05-22-wicket-8-released.md
new file mode 100644
index 0000000..29f94b8
--- /dev/null
+++ b/2018/_posts/2018-05-22-wicket-8-released.md
@@ -0,0 +1,108 @@
+---
+layout: post
+title: "Announcing Apache Wicket 8: Write Less, Achieve More"
+---
+
+The Apache Wicket project announces the 8th major release of the open source Java web framework servicing websites and applications across the globe for over a decade. With this release Wicket embraces Java 8 idioms fully, allowing the use of lambda expressions in all the right places. With Wicket 8 you can write fewer, faster and more maintainable code.
+
+<!--more-->
+
+## A Careful Application of Java 8
+
+While previous versions of Wicket work well with Java 8 and beyond, the Wicket API was not optimized to make full use of Java 8 idioms. After careful consideration and trying many paths to adopt new ways of combining Java 8 and Wicket, we finally settled on the current API.
+
+Java 8's new idioms and types have been applied throughout Wicket's API. Learn more about the details below.
+
+## Java 8+ Required
+
+Starting with Wicket 8 the minimum required version of Java is Java 8. All Wicket supplied projects have been upgraded to Java 8 and Wicket 8, and shortly all active community projects, such as Wicket Stuff, will follow suit.
+
+With the adoption of Java 8 we were able to provide support for Lambdas.
+
+## Lambdas in All The Right Places
+
+The major feature of Java 8 was the addition of lambda support in the language. With Wicket 8 we have looked at providing lambda support in the API and have weighed it against performance and memory usage considerations.
+
+In this light we have opted to continue using subclassing as the primary extension mechanism for Wicket components.
+
+Factories for lambdas have been provided for various forms of models (databinding) and behaviors (adapters for components).
+
+## Java Date/Time API
+
+Wicket 8 provides out-of-the-box support for the new types for handling dates in Java 8. These can be converted, validated and bound to components.
+
+## Optional is Somtimes Required
+
+The new Optional type in Java 8 is intended for places in your API where things can be null. In Wicket's case we have adopted Optional in just those places to clarify the API.
+
+For example the AjaxFallbackLink, a link that works using both with and without AJAX, now uses Optional to signify whether the link was clicked utilizing AJAX or normal request processing: the AJAX request is wrapped in an Optional. Previous versions of Wicket would provide a null value for the AJAX request.
+
+{% highlight java %}
+// WICKET 7:
+add(new AjaxFallbackLink<Void>("wicket7") {
+ @Override
+ public void onClick(AjaxRequestTarget target) {
+ if(target != null) {
+ // ...
+ }
+ }
+});
+// WICKET 8:
+add(new AjaxFallbackLink<Void>("wicket8") {
+ @Override
+ public void onClick(Optional<AjaxRequestTarget> target) {
+ if(target.isPresent()) {
+ // ...
+ }
+ }
+});
+{% endhighlight %}
+
+Because we have modified the API to utilize Optional, you will get compile errors when you start migrating to Wicket 8. This gives you the exact positions where these improvements have occurred and you can start working with the Optional API.
+
+## Models as Functional Interface
+
+Wicket uses models as the databinding method: each data-aware component can take a model implementation to retrieve and store data in. From Wicket 8 we have made the root interface IModel a _functional interface_. You can now use lambdas where you can use models.
+
+The following example binds a Label component to the name of a person object in different ways using Wicket 8:
+
+{% highlight java %}
+add(new Label("name1", person::name));
+add(new Label("name2", () -> person.getName()));
+add(new Label("name3", LambdaModel.of(personModel, Person::getName)));
+add(new Label("name4",
+ LambdaModel.of(contractModel, Contract::getPerson)
+ .map(Person::getName)));
+{% endhighlight %}
+
+The new `LambdaModel` type in Wicket enables type safe, refactor safe databinding for components. Previously one would bind data to components using `PropertyModel`, using a string expression to determine the exact property to show. The string expression is something like `"person.name"`. This is inherently difficult to refactor when you decide to change the name field into for example `"lastName"`. With `LambdaModel`, this refactoring is trivial for IDEs to perform: the Java methods can easily be renamed and the IDE will find all the references.
+
+Microbenchmarks have shown that using lambda models provides much better performance than the string based PropertyModel at the cost of slightly larger memory footprint.
+
+## Servlet 3.1 Required
+
+As of Wicket 8 we only support the Java Servlet API 3.1 (or newer). This means that to run applications built using Wicket 8 you have to run your application in a modern server like Tomcat 8.x, Jetty 9.1+ or a Java EE 7 compatible server.
+
+## No Rewrite Necessary
+
+The Wicket team has been very careful of adopting Java 8 technologies and as such you don't have to rewrite your whole application, whilst still reaping all the benefits of Java 8.
+
+As this is a new major version we have, in accordance with semantic versioning, cleaned up many APIs and you will get compile errors when you migrate from previous Wicket versions.
+
+## Migrating to Wicket 8
+
+When you migrate from a previous Wicket version to Wicket 8, a full list of changes and migrations is available at the following page:
+
+[https://s.apache.org/wicket8migrate](https://s.apache.org/wicket8migrate)
+
+Please consult this migration guide when you are moving towards Wicket 8.
+
+## Support
+
+You can find out about our support channels through the following page on our website: [https://wicket.apache.org/help/](https://wicket.apache.org/help/)
+
+## Thanks
+
+Our many thanks go out to our contributors for testing this release during its development and providing invaluable feedback.
+
+
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/8/index.md
----------------------------------------------------------------------
diff --git a/8/index.md b/8/index.md
deleted file mode 100644
index 46d600d..0000000
--- a/8/index.md
+++ /dev/null
@@ -1,153 +0,0 @@
----
-layout: title
-title: Wicket 8 Released
-pageclasses: wicket8 index
-additionalContents:
-jumbotronLinks:
- -
- text: Download now »
- url: /start/wicket-8.x.html
----
-
-<div class="l-full l-first preamble">
- <h1 id="introduction">Announcing Apache Wicket 8: Write Less, Achieve More</h1>
- <p>
- The Apache Wicket project announces the 8th major release of the open source Java web framework servicing websites and applications across the globe for over a decade. With this release Wicket embraces Java 8 idioms fully, allowing the use of lambda expressions in all the right places. With Wicket 8 you can write fewer, faster and more maintainable code.
- </p>
-</div>
-<div class="l-first">
- <div class="l-full">
- <h3>A Careful Application of Java 8</h3>
-
- <p>
- While previous versions of Wicket work well with Java 8 and beyond, the Wicket API was not optimized to make full use of Java 8 idioms. After careful consideration and trying many paths to adopt new ways of combining Java 8 and Wicket, we finally settled on the current API.
- </p>
- <p>
- Java 8’s new idioms and types have been applied throughout Wicket’s API. Learn more about the details below.
- </p>
- </div>
-</div>
-
-<div class="l-first">
- <div class="l-one-third">
- <h3>Java 8+ Required</h3>
- <p>
- Starting with Wicket 8 the minimum required version of Java is Java 8. All Wicket supplied projects have been upgraded to Java 8 and Wicket 8, and shortly all active community projects, such as Wicket Stuff, will follow suit.
- </p>
- <p>
- With the adoption of Java 8 we were able to provide support for Lambdas.
- </p>
- </div>
- <div class="l-one-third">
- <h3>Servlet 3.1 Required</h3>
- <p>
- As of Wicket 8 we only support the Java Servlet API 3.1 (or newer). This means that to run applications built using Wicket 8 you have to run your application in a modern server like Tomcat 8.x, Jetty 9.1+ or a Java EE 7 compatible server.
- </p>
- </div>
- <div class="l-one-third">
- <h3>Java Date/Time API</h3>
- <p>
- Wicket 8 provides out-of-the-box support for the new types for handling dates in Java 8. These can be converted, validated and bound to components.
- </p>
- </div>
-</div>
-<div class="l-first">
- <div class="l-two-third">
- <h3>Lambdas in All The Right Places</h3>
- <p>
- The major feature of Java 8 was the addition of lambda support in the language. With Wicket 8 we have looked at providing lambda support in the API and have weighed it against performance and memory usage considerations.
- </p>
- <p>
- In this light we have opted to continue using subclassing as the primary extension mechanism for Wicket components.
- Factories for lambdas have been provided for various forms of models (databinding) and behaviors (adapters for components).
- </p>
- </div>
-</div>
-<div class="l-first">
- <div class="l-full">
- <h3>Optional is Somtimes Required</h3>
- </div>
- <div class="l-one-third">
- <p>
- The new Optional type in Java 8 is intended for places in your API where things can be null. In Wicket’s case we have adopted Optional in just those places to clarify the API.
- </p>
- <p>
- For example the AjaxFallbackLink, a link that works using both with and without AJAX, now uses Optional to signify whether the link was clicked utilizing AJAX or normal request processing: the AJAX request is wrapped in an Optional. Previous versions of Wicket would provide a null value for the AJAX request.
- </p>
- <p>
- Because we have modified the API to utilize Optional, you will get compile errors when you start migrating to Wicket 8. This gives you the exact positions where these improvements have occurred and you can start working with the Optional API.
- </p>
- </div>
- <div class="l-two-third">
-{% highlight java %}// WICKET 7:
-add(new AjaxFallbackLink<Void>("wicket7") {
- @Override
- public void onClick(AjaxRequestTarget target) {
- if(target != null) {
- // ...
- }
- }
-});
-// WICKET 8:
-add(new AjaxFallbackLink<Void>("wicket8") {
- @Override
- public void onClick(Optional<AjaxRequestTarget> target) {
- if(target.isPresent()) {
- // ...
- }
- }
-});
-{% endhighlight %}
- </div>
-</div>
-
-<div class="l-first">
- <div class="l-full">
- <h3>Models as Functional Interface</h3>
- <p>
- Wicket uses models as the databinding method: each data-aware component can take a model implementation to retrieve and store data in. From Wicket 8 we have made the root interface IModel a functional interface. You can now use lambdas where you can use models.
- </p>
- <p>
- The following example binds a Label component to the name of a person object in different ways using Wicket 8:
- </p>
-{% highlight java %}
-add(new Label("name1", person::name));
-add(new Label("name2", () -> person.getName()));
-add(new Label("name3", LambdaModel.of(personModel, Person::getName)));
-add(new Label("name4",
- LambdaModel.of(contractModel, Contract::getPerson)
- .map(Person::getName)));
-{% endhighlight %}
- <p>
- The new <code>LambdaModel</code> type in Wicket enables type safe, refactor safe databinding for components. Previously one would bind data to components using PropertyModel, using a string expression to determine the exact property to show. The string expression is something like <code>"person.name"</code>. This is inherently difficult to refactor when you decide to change the name field into for example <code>"lastName"</code>. With <code>LambdaModel</code>, this refactoring is trivial for IDEs to perform: the Java methods can easily be renamed and the IDE will find all the references.
- </p>
-
- <p>
- Microbenchmarks have shown that using lambda models provides much better performance than the string based PropertyModel at the cost of slightly larger memory footprint.
- </p>
- </div>
-</div>
-
-<div class="l-first">
- <div class="l-one-third">
- <h3>No Rewrite Necessary</h3>
- <p>
- The Wicket team has been very careful of adopting Java 8 technologies and as such you don’t have to rewrite your whole application, whilst still reaping all the benefits of Java 8.
- </p>
- <p>
- As this is a new major version we have, in accordance with semantic versioning, cleaned up many APIs and you will get compile errors when you migrate from previous Wicket versions.
- </p>
- </div>
- <div class="l-one-third">
- <h3>Migrating to Wicket 8</h3>
- <p>
- When you migrate from a previous Wicket version to Wicket 8, a full list of changes and migrations is available at the following page:
- </p>
- <p>
- <a href="https://s.apache.org/wicket8migrate">https://s.apache.org/wicket8migrate</a>
- </p>
- <p>
- Please consult this migration guide when you are moving towards Wicket 8.
- </p>
- </div>
-</div>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/8/index.html
----------------------------------------------------------------------
diff --git a/content/8/index.html b/content/8/index.html
deleted file mode 100644
index 5eb759b..0000000
--- a/content/8/index.html
+++ /dev/null
@@ -1,193 +0,0 @@
-<!DOCTYPE html>
-<html>
- <head>
- <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
- <meta charset="utf-8">
- <title>Wicket 8 Released | Apache Wicket</title>
- <meta name="viewport" content="width=device-width, initial-scale=1" />
-
- <link rel="shortcut icon" href="/favicon.ico" type="image/vnd.microsoft.icon" />
- <link rel="stylesheet" href="/css/style.css" type="text/css" media="screen" />
- <link href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" />
-
- <script src="//code.jquery.com/jquery-1.11.3.min.js"></script>
-
- </head>
-
- <body class="wicket8 index">
- <div class="header jumbotron">
-<nav class="mainmenu">
- <ul>
- <!-- /start/quickstart.html || /8/ -->
- <li class=""><a href="/start/quickstart.html">Quick Start</a></li>
- <!-- /start/download.html || /8/ -->
- <li class=""><a href="/start/download.html">Download</a></li>
- <!-- /learn || /8/ -->
- <li class=""><a href="/learn">Documentation</a></li>
- <!-- /help || /8/ -->
- <li class=""><a href="/help">Support</a></li>
- <!-- /contribute || /8/ -->
- <li class=""><a href="/contribute">Contribute</a></li>
- <!-- /community || /8/ -->
- <li class=""><a href="/community">Community</a></li>
- <!-- /apache || /8/ -->
- <li class=""><a href="/apache">Apache</a></li>
- </ul>
-</nav>
- <div class="jumbotron-logo">
- <a href="/"><img src="/img/logo-apachewicket-tungsten-8.svg" alt="Apache Wicket"></a>
- <div class="jumbotron-poweredbyasf">powered by <b>The Apache Software Foundation</b></div>
- </div>
- <div class="jumbotron-mission">Write Less, Achieve More</div>
- <div class="jumbotron-download">
- <a class="button" href="/start/wicket-8.x.html" style="padding: 1em 3em; border-radius:5px">Download now »</a>
- </div>
- <div class="l-first"> </div>
-</div>
-<div class="l-container">
- <section>
- <div class="l-full l-first preamble">
- <h1 id="introduction">Announcing Apache Wicket 8: Write Less, Achieve More</h1>
- <p>
- The Apache Wicket project announces the 8th major release of the open source Java web framework servicing websites and applications across the globe for over a decade. With this release Wicket embraces Java 8 idioms fully, allowing the use of lambda expressions in all the right places. With Wicket 8 you can write fewer, faster and more maintainable code.
- </p>
-</div>
-<div class="l-first">
- <div class="l-full">
- <h3>A Careful Application of Java 8</h3>
- <p>
- While previous versions of Wicket work well with Java 8 and beyond, the Wicket API was not optimized to make full use of Java 8 idioms. After careful consideration and trying many paths to adopt new ways of combining Java 8 and Wicket, we finally settled on the current API.
- </p>
- <p>
- Java 8’s new idioms and types have been applied throughout Wicket’s API. Learn more about the details below.
- </p>
- </div>
-</div>
-<div class="l-first">
- <div class="l-one-third">
- <h3>Java 8+ Required</h3>
- <p>
- Starting with Wicket 8 the minimum required version of Java is Java 8. All Wicket supplied projects have been upgraded to Java 8 and Wicket 8, and shortly all active community projects, such as Wicket Stuff, will follow suit.
- </p>
- <p>
- With the adoption of Java 8 we were able to provide support for Lambdas.
- </p>
- </div>
- <div class="l-one-third">
- <h3>Servlet 3.1 Required</h3>
- <p>
- As of Wicket 8 we only support the Java Servlet API 3.1 (or newer). This means that to run applications built using Wicket 8 you have to run your application in a modern server like Tomcat 8.x, Jetty 9.1+ or a Java EE 7 compatible server.
- </p>
- </div>
- <div class="l-one-third">
- <h3>Java Date/Time API</h3>
- <p>
- Wicket 8 provides out-of-the-box support for the new types for handling dates in Java 8. These can be converted, validated and bound to components.
- </p>
- </div>
-</div>
-<div class="l-first">
- <div class="l-two-third">
- <h3>Lambdas in All The Right Places</h3>
- <p>
- The major feature of Java 8 was the addition of lambda support in the language. With Wicket 8 we have looked at providing lambda support in the API and have weighed it against performance and memory usage considerations.
- </p>
- <p>
- In this light we have opted to continue using subclassing as the primary extension mechanism for Wicket components.
- Factories for lambdas have been provided for various forms of models (databinding) and behaviors (adapters for components).
- </p>
- </div>
-</div>
-<div class="l-first">
- <div class="l-full">
- <h3>Optional is Somtimes Required</h3>
- </div>
- <div class="l-one-third">
- <p>
- The new Optional type in Java 8 is intended for places in your API where things can be null. In Wicket’s case we have adopted Optional in just those places to clarify the API.
- </p>
- <p>
- For example the AjaxFallbackLink, a link that works using both with and without AJAX, now uses Optional to signify whether the link was clicked utilizing AJAX or normal request processing: the AJAX request is wrapped in an Optional. Previous versions of Wicket would provide a null value for the AJAX request.
- </p>
- <p>
- Because we have modified the API to utilize Optional, you will get compile errors when you start migrating to Wicket 8. This gives you the exact positions where these improvements have occurred and you can start working with the Optional API.
- </p>
- </div>
- <div class="l-two-third">
-<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="c1">// WICKET 7:</span>
-<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">AjaxFallbackLink</span><span class="o"><</span><span class="n">Void</span><span class="o">>(</span><span class="s">"wicket7"</span><span class="o">)</span> <span class="o">{</span>
- <span class="nd">@Override</span>
- <span class="kd">public</span> <span class="kt">void</span> <span class="nf">onClick</span><span class="o">(</span><span class="n">AjaxRequestTarget</span> <span class="n">target</span><span class="o">)</span> <span class="o">{</span>
- <span class="k">if</span><span class="o">(</span><span class="n">target</span> <span class="o">!=</span> <span class="kc">null</span><span class="o">)</span> <span class="o">{</span>
- <span class="c1">// ...</span>
- <span class="o">}</span>
- <span class="o">}</span>
-<span class="o">});</span>
-<span class="c1">// WICKET 8:</span>
-<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">AjaxFallbackLink</span><span class="o"><</span><span class="n">Void</span><span class="o">>(</span><span class="s">"wicket8"</span><span class="o">)</span> <span class="o">{</span>
- <span class="nd">@Override</span>
- <span class="kd">public</span> <span class="kt">void</span> <span class="nf">onClick</span><span class="o">(</span><span class="n">Optional</span><span class="o"><</span><span class="n">AjaxRequestTarget</span><span class="o">></span> <span class="n">target</span><span class="o">)</span> <span class="o">{</span>
- <span class="k">if</span><span class="o">(</span><span class="n">target</span><span class="o">.</span><span class="na">isPresent</span><span class="o">())</span> <span class="o">{</span>
- <span class="c1">// ...</span>
- <span class="o">}</span>
- <span class="o">}</span>
-<span class="o">});</span></code></pre></figure>
- </div>
-</div>
-<div class="l-first">
- <div class="l-full">
- <h3>Models as Functional Interface</h3>
- <p>
- Wicket uses models as the databinding method: each data-aware component can take a model implementation to retrieve and store data in. From Wicket 8 we have made the root interface IModel a functional interface. You can now use lambdas where you can use models.
- </p>
- <p>
- The following example binds a Label component to the name of a person object in different ways using Wicket 8:
- </p>
-<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name1"</span><span class="o">,</span> <span class="nl">person:</span><span class="o">:</span><span class="n">name</span><span class="o">));</span>
-<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name2"</span><span class="o">,</span> <span class="o">()</span> <span class="o">-></span> <span class="n">person</span><span class="o">.</span><span class="na">getName</span><span class="o">()));</span>
-<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name3"</span><span class="o">,</span> <span class="n">LambdaModel</span><span class="o">.</span><span class="na">of</span><span class="o">(</span><span class="n">personModel</span><span class="o">,</span> <span class="nl">Person:</span><span class="o">:</span><span class="n">getName</span><span class="o">)));</span>
-<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name4"</span><span class="o">,</span>
- <span class="n">LambdaModel</span><span class="o">.</span><span class="na">of</span><span class="o">(</span><span class="n">contractModel</span><span class="o">,</span> <span class="nl">Contract:</span><span class="o">:</span><span class="n">getPerson</span><span class="o">)</span>
- <span class="o">.</span><span class="na">map</span><span class="o">(</span><span class="nl">Person:</span><span class="o">:</span><span class="n">getName</span><span class="o">)));</span></code></pre></figure>
- <p>
- The new <code>LambdaModel</code> type in Wicket enables type safe, refactor safe databinding for components. Previously one would bind data to components using PropertyModel, using a string expression to determine the exact property to show. The string expression is something like <code>"person.name"</code>. This is inherently difficult to refactor when you decide to change the name field into for example <code>"lastName"</code>. With <code>LambdaModel</code>, this refactoring is trivial for IDEs to perform: the Java methods can easily be renamed and the IDE will find all the references.
- </p>
- <p>
- Microbenchmarks have shown that using lambda models provides much better performance than the string based PropertyModel at the cost of slightly larger memory footprint.
- </p>
- </div>
-</div>
-<div class="l-first">
- <div class="l-one-third">
- <h3>No Rewrite Necessary</h3>
- <p>
- The Wicket team has been very careful of adopting Java 8 technologies and as such you don’t have to rewrite your whole application, whilst still reaping all the benefits of Java 8.
- </p>
- <p>
- As this is a new major version we have, in accordance with semantic versioning, cleaned up many APIs and you will get compile errors when you migrate from previous Wicket versions.
- </p>
- </div>
- <div class="l-one-third">
- <h3>Migrating to Wicket 8</h3>
- <p>
- When you migrate from a previous Wicket version to Wicket 8, a full list of changes and migrations is available at the following page:
- </p>
- <p>
- <a href="https://s.apache.org/wicket8migrate">https://s.apache.org/wicket8migrate</a>
- </p>
- <p>
- Please consult this migration guide when you are moving towards Wicket 8.
- </p>
- </div>
-</div>
- </section>
-</div>
- <footer class="l-container">
- <div class="l-full">
- <img src="/img/asf_logo_url.svg" style="height:90px; float:left; margin-right:10px;">
- <div style="margin-top:12px;">Copyright © 2018 — The Apache Software Foundation. Apache Wicket, Wicket, Apache, the Apache feather logo, and the Apache Wicket project logo are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners.</div>
-</div>
- </footer>
- </body>
-
-</html>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/atom.xml
----------------------------------------------------------------------
diff --git a/content/atom.xml b/content/atom.xml
index e1eaee4..1204e03 100644
--- a/content/atom.xml
+++ b/content/atom.xml
@@ -3,7 +3,7 @@
<title>Apache Wicket</title>
<link href="http://wicket.apache.org/atom.xml" rel="self"/>
<link href="http://wicket.apache.org/"/>
- <updated>2018-05-22T20:12:07+02:00</updated>
+ <updated>2018-05-23T14:41:19+02:00</updated>
<id>http://wicket.apache.org/</id>
<author>
<name>Apache Wicket</name>
@@ -12,6 +12,114 @@
<entry>
+ <title>Announcing Apache Wicket 8: Write Less, Achieve More</title>
+ <link href="http://wicket.apache.org/news/2018/05/22/wicket-8-released.html"/>
+ <updated>2018-05-22T00:00:00+02:00</updated>
+ <id>http://wicket.apache.org/news/2018/05/22/wicket-8-released</id>
+ <content type="html"><p>The Apache Wicket project announces the 8th major release of the open source Java web framework servicing websites and applications across the globe for over a decade. With this release Wicket embraces Java 8 idioms fully, allowing the use of lambda expressions in all the right places. With Wicket 8 you can write fewer, faster and more maintainable code.</p>
+
+<!-- more -->
+
+<h2 id="a-careful-application-of-java-8">A Careful Application of Java 8</h2>
+
+<p>While previous versions of Wicket work well with Java 8 and beyond, the Wicket API was not optimized to make full use of Java 8 idioms. After careful consideration and trying many paths to adopt new ways of combining Java 8 and Wicket, we finally settled on the current API.</p>
+
+<p>Java 8’s new idioms and types have been applied throughout Wicket’s API. Learn more about the details below.</p>
+
+<h2 id="java-8-required">Java 8+ Required</h2>
+
+<p>Starting with Wicket 8 the minimum required version of Java is Java 8. All Wicket supplied projects have been upgraded to Java 8 and Wicket 8, and shortly all active community projects, such as Wicket Stuff, will follow suit.</p>
+
+<p>With the adoption of Java 8 we were able to provide support for Lambdas.</p>
+
+<h2 id="lambdas-in-all-the-right-places">Lambdas in All The Right Places</h2>
+
+<p>The major feature of Java 8 was the addition of lambda support in the language. With Wicket 8 we have looked at providing lambda support in the API and have weighed it against performance and memory usage considerations.</p>
+
+<p>In this light we have opted to continue using subclassing as the primary extension mechanism for Wicket components.</p>
+
+<p>Factories for lambdas have been provided for various forms of models (databinding) and behaviors (adapters for components).</p>
+
+<h2 id="java-datetime-api">Java Date/Time API</h2>
+
+<p>Wicket 8 provides out-of-the-box support for the new types for handling dates in Java 8. These can be converted, validated and bound to components.</p>
+
+<h2 id="optional-is-somtimes-required">Optional is Somtimes Required</h2>
+
+<p>The new Optional type in Java 8 is intended for places in your API where things can be null. In Wicket’s case we have adopted Optional in just those places to clarify the API.</p>
+
+<p>For example the AjaxFallbackLink, a link that works using both with and without AJAX, now uses Optional to signify whether the link was clicked utilizing AJAX or normal request processing: the AJAX request is wrapped in an Optional. Previous versions of Wicket would provide a null value for the AJAX request.</p>
+
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>// WICKET 7:
+add(new AjaxFallbackLink&lt;Void&gt;("wicket7") {
+ @Override
+ public void onClick(AjaxRequestTarget target) {
+ if(target != null) {
+ // ...
+ }
+ }
+});
+// WICKET 8:
+add(new AjaxFallbackLink&lt;Void&gt;("wicket8") {
+ @Override
+ public void onClick(Optional&lt;AjaxRequestTarget&gt; target) {
+ if(target.isPresent()) {
+ // ...
+ }
+ }
+});
+</code></pre></div></div>
+
+<p>Because we have modified the API to utilize Optional, you will get compile errors when you start migrating to Wicket 8. This gives you the exact positions where these improvements have occurred and you can start working with the Optional API.</p>
+
+<h2 id="models-as-functional-interface">Models as Functional Interface</h2>
+
+<p>Wicket uses models as the databinding method: each data-aware component can take a model implementation to retrieve and store data in. From Wicket 8 we have made the root interface IModel a <em>functional interface</em>. You can now use lambdas where you can use models.</p>
+
+<p>The following example binds a Label component to the name of a person object in different ways using Wicket 8:</p>
+
+<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>add(new Label("name1", person::name));
+add(new Label("name2", () -&gt; person.getName()));
+add(new Label("name3", LambdaModel.of(personModel, Person::getName)));
+add(new Label("name4",
+ LambdaModel.of(contractModel, Contract::getPerson)
+ .map(Person::getName)));
+</code></pre></div></div>
+
+<p>The new LambdaModel type in Wicket enables type safe, refactor safe databinding for components. Previously one would bind data to components using PropertyModel, using a string expression to determine the exact property to show. The string expression is something like “person.name”. This is inherently difficult to refactor when you decide to change the name field into for example “lastName”. With LambdaModel, this refactoring is trivial for IDEs to perform: the Java methods can easily be renamed and the IDE will find all the references.</p>
+
+<p>Microbenchmarks have shown that using lambda models provides much better performance than the string based PropertyModel at the cost of slightly larger memory footprint.</p>
+
+<h2 id="servlet-31-required">Servlet 3.1 Required</h2>
+
+<p>As of Wicket 8 we only support the Java Servlet API 3.1 (or newer). This means that to run applications built using Wicket 8 you have to run your application in a modern server like Tomcat 8.x, Jetty 9.1+ or a Java EE 7 compatible server.</p>
+
+<h2 id="no-rewrite-necessary">No Rewrite Necessary</h2>
+
+<p>The Wicket team has been very careful of adopting Java 8 technologies and as such you don’t have to rewrite your whole application, whilst still reaping all the benefits of Java 8.</p>
+
+<p>As this is a new major version we have, in accordance with semantic versioning, cleaned up many APIs and you will get compile errors when you migrate from previous Wicket versions.</p>
+
+<h2 id="migrating-to-wicket-8">Migrating to Wicket 8</h2>
+
+<p>When you migrate from a previous Wicket version to Wicket 8, a full list of changes and migrations is available at the following page:</p>
+
+<p>https://s.apache.org/wicket8migrate</p>
+
+<p>Please consult this migration guide when you are moving towards Wicket 8.</p>
+
+<h2 id="support">Support</h2>
+
+<p>You can find out about our support channels through the following page on our website: https://wicket.apache.org/help/</p>
+
+<h2 id="thanks">Thanks</h2>
+
+<p>Our many thanks go out to our contributors for testing this release during its development and providing invaluable feedback.</p>
+
+</content>
+ </entry>
+
+ <entry>
<title>Apache Wicket 6.29.0 released</title>
<link href="http://wicket.apache.org/news/2018/02/21/wicket-6.29.0-released.html"/>
<updated>2018-02-21T00:00:00+01:00</updated>
@@ -1332,158 +1440,4 @@ MfALKqCOD4Ta2B4w9ES0
</content>
</entry>
- <entry>
- <title>Apache Wicket 8.0.0-M6 released</title>
- <link href="http://wicket.apache.org/news/2017/05/18/wicket-8.0.0-M6-released.html"/>
- <updated>2017-05-18T00:00:00+02:00</updated>
- <id>http://wicket.apache.org/news/2017/05/18/wicket-8.0.0-M6-released</id>
- <content type="html"><p>The Apache Wicket PMC is proud to announce Apache Wicket 8.0.0-M6!</p>
-
-<p>Apache Wicket is an open source Java component oriented web application
-framework that powers thousands of web applications and web sites for
-governments, stores, universities, cities, banks, email providers, and
-more. You can find more about Apache Wicket at https://wicket.apache.org</p>
-
-<p>This release marks another minor release of Wicket 8. We
-use semantic versioning for the development of Wicket, and as such no
-API breaks are present breaks are present in this release compared to
-8.0.0.</p>
-
-<h2 id="new-and-noteworthy">New and noteworthy</h2>
-<p>With this version Wicket removed its internal JSON implementation
-(based on project <a href="https://github.com/stleary/JSON-java">JSON-java</a>) replacing it with
-external project <a href="https://github.com/openjson/openjson">Open JSON</a>.
-This was necessary as JSON-java’s license is no longer compatible with Apache License 2.0.</p>
-
-<h2 id="using-this-release">Using this release</h2>
-
-<p>With Apache Maven update your dependency to (and don’t forget to
-update any other dependencies on Wicket projects to the same version):</p>
-
-<figure class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt">&lt;dependency&gt;</span>
- <span class="nt">&lt;groupId&gt;</span>org.apache.wicket<span class="nt">&lt;/groupId&gt;</span>
- <span class="nt">&lt;artifactId&gt;</span>wicket-core<span class="nt">&lt;/artifactId&gt;</span>
- <span class="nt">&lt;version&gt;</span>8.0.0-M6<span class="nt">&lt;/version&gt;</span>
-<span class="nt">&lt;/dependency&gt;</span></code></pre></figure>
-
-<p>Or download and build the distribution yourself, or use our
-convenience binary package</p>
-
-<ul>
- <li>Source: <a href="http://www.apache.org/dyn/closer.cgi/wicket/8.0.0-M6">8.0.0-M6 source download</a></li>
- <li>Binary: <a href="http://www.apache.org/dyn/closer.cgi/wicket/8.0.0-M6/binaries">8.0.0-M6 binary download</a></li>
-</ul>
-
-<!--more-->
-
-<h2 id="upgrading-from-earlier-versions">Upgrading from earlier versions</h2>
-
-<p>If you upgrade from 8.y.z this release is a drop in replacement. If
-you come from a version prior to 8.0.0, please read our Wicket 8
-migration guide found at</p>
-
-<ul>
- <li>http://s.apache.org/wicket8migrate</li>
-</ul>
-
-<p>Have fun!</p>
-
-<p>— The Wicket team</p>
-
-<p>========================================================================</p>
-
-<div class="highlighter-rouge"><div class="highlight"><pre class="highlight"><code>The signatures for the source release artefacts:
-</code></pre></div></div>
-
-<p>Signature for apache-wicket-8.0.0-M6.zip:</p>
-
-<div class="highlight"><pre>
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-
-iQIcBAABAgAGBQJZGF1uAAoJEAzCjx+CMhBVHVwQAI9s33bQnf2renrK88l16qHG
-3Krvu79Ks5mXzJZmdf6O9jlfgZ+dFsNtPetkteVX+6ngne23r9g1TBd4qB80KEhD
-qlwbn777TKWhy+CCy++9Nd0qV3Pi6FZv03xzWzo3JaGdzFqne9K4U/af6VIfc69V
-6CI0AIXnt9s66yNvOyD4N6b3gXo/BRZLnrzVCQIPI8pVvM816kqYg9R/vXXKkBja
-y0A/rXaWHCoB9uYBcW1RCeq0RxonaMfOP2lPNZifymk7+VgcjUUYv/ktWXX93SLQ
-fTQ1FkLF+whxzbPBYdFo3qxleaguWeBQDbDCmSfjAlb+yuFi9tGYQ1aCy2CYB5u4
-gFb1O5Dc+Ko6U+143DNnMEW9YrXalvzlmamZhQfxLuWbTX0/fOUjSGLrTCWhbfPK
-JMK9Gal290gsGKOeyBSwf8RD7RCeLCDrtKJ6Jej/DrIGbShVjXHjVTTSzWrzfyWr
-jcPqGLTTD7/t8GRsQ/n8gAZeNwww1JGWKeJ89mgTtKFqSvMpAAw7V81KV2J6I5PP
-vgrJlY8b0oAlCxunD4Af0529bYnXGH8SbD311Hn6OQ5q4JmsTc/0YL1XmeE99QBe
-y0u8XRNNIbNDtC204pxtcuZBfxBVLgANLQxy85gMO/A7e7sOmO1zJojiQpBMaTVD
-VjUAN2HX4B/1G+k2QFrm
-=kM6A
------END PGP SIGNATURE-----
-</pre></div>
-
-<p>Signature for apache-wicket-8.0.0-M6.tar.gz:</p>
-
-<div class="highlight"><pre>
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1
-
-iQIcBAABAgAGBQJZGF1uAAoJEAzCjx+CMhBVLE4P+wVfGgM02TSAIGsRhtCJla9y
-5fb0KtOW6D1mRuuuVK8JbWncqpn5B2yuQGnkttE3OV8YUsR1HDwHBgCrx0z5Dcbh
-+uhNwW+IJTIUrApVVXFN4+X1rZFDQ9dwnJTNjm0kdfzCLPcRriEHzQbg8CUC6JuB
-6kndnr5RnyOGZInqs6ilB4fobUzIxR6s8ck4PoXSiFh+NE+jcllYfHv+3/3aVR2p
-ZwC2R3gTFZAWeQB3IXQUSwnLeL4RPi2WCke1EcKBXnYM3TU41JHy1UuY2gSSpAXL
-DO3VgZZLibEn4rqNp9URYellrYG5TEmhtylS6C7zgY8AmhbTGrW/PYPvLV3WOOXw
-xdhBoaVjZg7ovov4bQQ74GW4w9GgxF9Xzwh/60bSngMyI4sGpm2bLrGh2YunA2OM
-sguJMMa4fAMCvyrcejqMOfkF7z0W+9BK53/CPzBNLiLyIKaKrAkeU6PClfZyowDm
-tHIOmbeTvXjDogOOweWonBZEfUHjhAOP+f7PeCpzCDkCcG0Fe7yaamNB0xtguAC/
-enme13t9rz/7pBdUxyWRtgzdbRFfl1KYgrGS6FRbw2wfOCJf+qIKfsaJIWLQOxei
-nWyRNUVXKwvIeu1ad4pujXh7ldNTkDsrtUSkrFCUV4TLya3SGrFLurKefuMidPze
-4F5Gjn0iDossLMbNHY8U
-=kX7X
------END PGP SIGNATURE-----
-</pre></div>
-
-<p>========================================================================</p>
-
-<h3 id="this-release">This Release</h3>
-
-<h4 id="changelog-for-800-m6">CHANGELOG for 8.0.0-M6:</h4>
-
-<h5 id="bug">Bug</h5>
-
-<ul>
- <li>[WICKET-6177] - Introduce AsynchronousPageStore</li>
- <li>[WICKET-6339] - Wrong implementation of MarkupFragment.iterator()</li>
- <li>[WICKET-6353] - Proxy deserialization fails due to classloading issues</li>
- <li>[WICKET-6356] - Clustering failover not working on Tomcat</li>
- <li>[WICKET-6360] - WebSocket fails when url-based jsessionid is used</li>
- <li>[WICKET-6361] - MarkupContainer#queue doesn’t work in table column</li>
- <li>[WICKET-6362] - HeaderItems with different PageParameters are treated as identical</li>
- <li>[WICKET-6365] - Links on “Contribute to the User Guide” are broken</li>
-</ul>
-
-<h5 id="improvement">Improvement</h5>
-
-<ul>
- <li>[WICKET-6347] - IChoiceRenderer implements IDetachable</li>
- <li>[WICKET-6348] - New FormComponentUpdatingBehavior to replace wantOnSelectionChangedNotifications()</li>
- <li>[WICKET-6351] - Form.anyFormComponentError performance degradation</li>
- <li>[WICKET-6354] - Add JavaScriptResourceReference for JQuery 3.x</li>
- <li>[WICKET-6355] - Pass the request attributes to FileSystemResource#createResourceResponse()</li>
- <li>[WICKET-6364] - The autogenerated input field when a form has a default button should not gain the focus when navigating with tab</li>
-</ul>
-
-<h5 id="new-feature">New Feature</h5>
-
-<ul>
- <li>[WICKET-6286] - Would be good to have AjaxDownload available out of the box</li>
-</ul>
-
-<h5 id="task">Task</h5>
-
-<ul>
- <li>[WICKET-4201] - IPageProvider and its implementations need to be improved</li>
- <li>[WICKET-6322] - Remove lambda factories</li>
- <li>[WICKET-6363] - Do not use jetty-all but specific dependencies</li>
-</ul>
-
-</content>
- </entry>
-
</feed>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/index.html
----------------------------------------------------------------------
diff --git a/content/index.html b/content/index.html
index d97ecf4..2ace603 100644
--- a/content/index.html
+++ b/content/index.html
@@ -52,6 +52,141 @@
<div class="l-container">
<section>
<div class="l-full l-first preamble">
+ <h1 id="introduction">Announcing Apache Wicket 8: Write Less, Achieve More</h1>
+ <p>
+ The Apache Wicket project announces the 8th major release of the open source Java web framework servicing websites and applications across the globe for over a decade. With this release Wicket embraces Java 8 idioms fully, allowing the use of lambda expressions in all the right places. With Wicket 8 you can write fewer, faster and more maintainable code.
+ </p>
+</div>
+<div class="l-first">
+ <div class="l-full">
+ <h3>A Careful Application of Java 8</h3>
+ <p>
+ While previous versions of Wicket work well with Java 8 and beyond, the Wicket API was not optimized to make full use of Java 8 idioms. After careful consideration and trying many paths to adopt new ways of combining Java 8 and Wicket, we finally settled on the current API.
+ </p>
+ <p>
+ Java 8’s new idioms and types have been applied throughout Wicket’s API. Learn more about the details below.
+ </p>
+ </div>
+</div>
+<div class="l-first">
+ <div class="l-one-third">
+ <h3>Java 8+ Required</h3>
+ <p>
+ Starting with Wicket 8 the minimum required version of Java is Java 8. All Wicket supplied projects have been upgraded to Java 8 and Wicket 8, and shortly all active community projects, such as Wicket Stuff, will follow suit.
+ </p>
+ <p>
+ With the adoption of Java 8 we were able to provide support for Lambdas.
+ </p>
+ </div>
+ <div class="l-one-third">
+ <h3>Servlet 3.1 Required</h3>
+ <p>
+ As of Wicket 8 we only support the Java Servlet API 3.1 (or newer). This means that to run applications built using Wicket 8 you have to run your application in a modern server like Tomcat 8.x, Jetty 9.1+ or a Java EE 7 compatible server.
+ </p>
+ </div>
+ <div class="l-one-third">
+ <h3>Java Date/Time API</h3>
+ <p>
+ Wicket 8 provides out-of-the-box support for the new types for handling dates in Java 8. These can be converted, validated and bound to components.
+ </p>
+ </div>
+</div>
+<div class="l-first">
+ <div class="l-two-third">
+ <h3>Lambdas in All The Right Places</h3>
+ <p>
+ The major feature of Java 8 was the addition of lambda support in the language. With Wicket 8 we have looked at providing lambda support in the API and have weighed it against performance and memory usage considerations.
+ </p>
+ <p>
+ In this light we have opted to continue using subclassing as the primary extension mechanism for Wicket components.
+ Factories for lambdas have been provided for various forms of models (databinding) and behaviors (adapters for components).
+ </p>
+ </div>
+</div>
+<div class="l-first">
+ <div class="l-full">
+ <h3>Optional is Somtimes Required</h3>
+ </div>
+ <div class="l-one-third">
+ <p>
+ The new Optional type in Java 8 is intended for places in your API where things can be null. In Wicket’s case we have adopted Optional in just those places to clarify the API.
+ </p>
+ <p>
+ For example the AjaxFallbackLink, a link that works using both with and without AJAX, now uses Optional to signify whether the link was clicked utilizing AJAX or normal request processing: the AJAX request is wrapped in an Optional. Previous versions of Wicket would provide a null value for the AJAX request.
+ </p>
+ <p>
+ Because we have modified the API to utilize Optional, you will get compile errors when you start migrating to Wicket 8. This gives you the exact positions where these improvements have occurred and you can start working with the Optional API.
+ </p>
+ </div>
+ <div class="l-two-third">
+<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="c1">// WICKET 7:</span>
+<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">AjaxFallbackLink</span><span class="o"><</span><span class="n">Void</span><span class="o">>(</span><span class="s">"wicket7"</span><span class="o">)</span> <span class="o">{</span>
+ <span class="nd">@Override</span>
+ <span class="kd">public</span> <span class="kt">void</span> <span class="nf">onClick</span><span class="o">(</span><span class="n">AjaxRequestTarget</span> <span class="n">target</span><span class="o">)</span> <span class="o">{</span>
+ <span class="k">if</span><span class="o">(</span><span class="n">target</span> <span class="o">!=</span> <span class="kc">null</span><span class="o">)</span> <span class="o">{</span>
+ <span class="c1">// ...</span>
+ <span class="o">}</span>
+ <span class="o">}</span>
+<span class="o">});</span>
+<span class="c1">// WICKET 8:</span>
+<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">AjaxFallbackLink</span><span class="o"><</span><span class="n">Void</span><span class="o">>(</span><span class="s">"wicket8"</span><span class="o">)</span> <span class="o">{</span>
+ <span class="nd">@Override</span>
+ <span class="kd">public</span> <span class="kt">void</span> <span class="nf">onClick</span><span class="o">(</span><span class="n">Optional</span><span class="o"><</span><span class="n">AjaxRequestTarget</span><span class="o">></span> <span class="n">target</span><span class="o">)</span> <span class="o">{</span>
+ <span class="k">if</span><span class="o">(</span><span class="n">target</span><span class="o">.</span><span class="na">isPresent</span><span class="o">())</span> <span class="o">{</span>
+ <span class="c1">// ...</span>
+ <span class="o">}</span>
+ <span class="o">}</span>
+<span class="o">});</span></code></pre></figure>
+ </div>
+</div>
+<div class="l-first">
+ <div class="l-full">
+ <h3>Models as Functional Interface</h3>
+ <p>
+ Wicket uses models as the databinding method: each data-aware component can take a model implementation to retrieve and store data in. From Wicket 8 we have made the root interface IModel a functional interface. You can now use lambdas where you can use models.
+ </p>
+ <p>
+ The following example binds a Label component to the name of a person object in different ways using Wicket 8:
+ </p>
+<figure class="highlight"><pre><code class="language-java" data-lang="java"><span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name1"</span><span class="o">,</span> <span class="nl">person:</span><span class="o">:</span><span class="n">name</span><span class="o">));</span>
+<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name2"</span><span class="o">,</span> <span class="o">()</span> <span class="o">-></span> <span class="n">person</span><span class="o">.</span><span class="na">getName</span><span class="o">()));</span>
+<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name3"</span><span class="o">,</span> <span class="n">LambdaModel</span><span class="o">.</span><span class="na">of</span><span class="o">(</span><span class="n">personModel</span><span class="o">,</span> <span class="nl">Person:</span><span class="o">:</span><span class="n">getName</span><span class="o">)));</span>
+<span class="n">add</span><span class="o">(</span><span class="k">new</span> <span class="n">Label</span><span class="o">(</span><span class="s">"name4"</span><span class="o">,</span>
+ <span class="n">LambdaModel</span><span class="o">.</span><span class="na">of</span><span class="o">(</span><span class="n">contractModel</span><span class="o">,</span> <span class="nl">Contract:</span><span class="o">:</span><span class="n">getPerson</span><span class="o">)</span>
+ <span class="o">.</span><span class="na">map</span><span class="o">(</span><span class="nl">Person:</span><span class="o">:</span><span class="n">getName</span><span class="o">)));</span></code></pre></figure>
+ <p>
+ The new <code>LambdaModel</code> type in Wicket enables type safe, refactor safe databinding for components. Previously one would bind data to components using PropertyModel, using a string expression to determine the exact property to show. The string expression is something like <code>"person.name"</code>. This is inherently difficult to refactor when you decide to change the name field into for example <code>"lastName"</code>. With <code>LambdaModel</code>, this refactoring is trivial for IDEs to perform: the Java methods can easily be renamed and the IDE will find all the references.
+ </p>
+ <p>
+ Microbenchmarks have shown that using lambda models provides much better performance than the string based PropertyModel at the cost of slightly larger memory footprint.
+ </p>
+ </div>
+</div>
+<div class="l-first">
+ <div class="l-one-third">
+ <h3>No Rewrite Necessary</h3>
+ <p>
+ The Wicket team has been very careful of adopting Java 8 technologies and as such you don’t have to rewrite your whole application, whilst still reaping all the benefits of Java 8.
+ </p>
+ <p>
+ As this is a new major version we have, in accordance with semantic versioning, cleaned up many APIs and you will get compile errors when you migrate from previous Wicket versions.
+ </p>
+ </div>
+ <div class="l-one-third">
+ <h3>Migrating to Wicket 8</h3>
+ <p>
+ When you migrate from a previous Wicket version to Wicket 8, a full list of changes and migrations is available at the following page:
+ </p>
+ <p>
+ <a href="https://s.apache.org/wicket8migrate">https://s.apache.org/wicket8migrate</a>
+ </p>
+ <p>
+ Please consult this migration guide when you are moving towards Wicket 8.
+ </p>
+ </div>
+</div>
+<hr />
+<div class="l-full l-first preamble">
<h1 id="introduction">Introducing Apache Wicket</h1>
<p>Invented in 2004, Wicket is one of the few survivors of the Java
serverside web framework wars of the mid 2000's. Wicket is an open
@@ -223,6 +358,12 @@
</div>
<div class="l-two-third">
<article>
+ <h2>Announcing Apache Wicket 8: Write Less, Achieve More</h2>
+ <small>22 May 2018</small>
+ <p>The Apache Wicket project announces the 8th major release of the open source Java web framework servicing websites and applications across the globe for over a decade. With this release Wicket embraces Java 8 idioms fully, allowing the use of lambda expressions in all the right places. With Wicket 8 you can write fewer, faster and more maintainable code.</p>
+ <a href="/news/2018/05/22/wicket-8-released.html">Read more...</a>
+ </article>
+ <article>
<h2>Apache Wicket 6.29.0 released</h2>
<small>21 Feb 2018</small>
<p>The Apache Wicket PMC is proud to announce Apache Wicket 6.29.0!</p>
@@ -250,52 +391,6 @@ convenience binary package</p>
</ul>
<a href="/news/2018/02/21/wicket-6.29.0-released.html">Read more...</a>
</article>
- <article>
- <h2>Apache Wicket 8.0.0-M9 released</h2>
- <small>17 Feb 2018</small>
- <p>The Apache Wicket PMC is proud to announce Apache Wicket 8.0.0-M9!</p>
-<p>Apache Wicket is an open source Java component oriented web application
-framework that powers thousands of web applications and web sites for
-governments, stores, universities, cities, banks, email providers, and
-more. You can find more about Apache Wicket at https://wicket.apache.org</p>
-<p>This release marks another minor release of Wicket 8. We
-use semantic versioning for the development of Wicket, and as such no
-API breaks are present breaks are present in this release compared to
-8.0.0.</p>
-<h2 id="new-and-noteworthy">New and noteworthy</h2>
-<p>Before <a href="https://issues.apache.org/jira/browse/WICKET-6498">WICKET-6498</a> users used to create a custom implementation of IHeaderResponseDecorator to place JavaScript items inside page body:</p>
-<figure class="highlight"><pre><code class="language-java" data-lang="java"> <span class="nd">@Override</span>
- <span class="kd">public</span> <span class="kt">void</span> <span class="nf">init</span><span class="o">()</span>
- <span class="o">{</span>
- <span class="n">setHeaderResponseDecorator</span><span class="o">(</span><span class="k">new</span> <span class="n">JavaScriptToBodyCustomResponseDecorator</span><span class="o">(</span><span class="s">"footer-container"</span><span class="o">));</span>
- <span class="o">}</span></code></pre></figure>
-<p>See <a href="https://ci.apache.org/projects/wicket/guide/7.x/single.html#_put_javascript_inside_page_body">user guide</a> for more details. Now each application has a default IHeaderResponseDecorator, which decorates header responses with a ResourceAggregator. Applications have to make sure, that each response is now explicitly decorated with a ResourceAggregator too:</p>
-<figure class="highlight"><pre><code class="language-java" data-lang="java"> <span class="nd">@Override</span>
- <span class="kd">public</span> <span class="kt">void</span> <span class="nf">init</span><span class="o">()</span>
- <span class="o">{</span>
- <span class="n">setHeaderResponseDecorator</span><span class="o">(</span><span class="n">response</span> <span class="o">-></span>
- <span class="o">{</span>
- <span class="k">return</span> <span class="k">new</span> <span class="nf">ResourceAggregator</span><span class="o">(</span><span class="k">new</span> <span class="n">JavaScriptFilteredIntoFooterHeaderResponse</span><span class="o">(</span><span class="n">response</span><span class="o">,</span> <span class="s">"footer-container"</span><span class="o">));</span>
- <span class="o">});</span>
- <span class="o">}</span></code></pre></figure>
-<h2 id="caveats">Caveats</h2>
-<p><a href="https://issues.apache.org/jira/browse/WICKET-6498">WICKET-6498</a> might not work as expected due to a known issue with all major browsers (Chrome, Firefox, IE > 10) which allows deferred scripts to be executed before DOMContentLoaded is fired. For this reason WICKET-6498 should be avoided for production applications and used carefully.</p>
-<h2 id="using-this-release">Using this release</h2>
-<p>With Apache Maven update your dependency to (and don’t forget to
-update any other dependencies on Wicket projects to the same version):</p>
-<figure class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
- <span class="nt"><groupId></span>org.apache.wicket<span class="nt"></groupId></span>
- <span class="nt"><artifactId></span>wicket-core<span class="nt"></artifactId></span>
- <span class="nt"><version></span>8.0.0-M9<span class="nt"></version></span>
-<span class="nt"></dependency></span></code></pre></figure>
-<p>Or download and build the distribution yourself, or use our
-convenience binary package</p>
-<ul>
- <li>Source: <a href="http://www.apache.org/dyn/closer.cgi/wicket/8.0.0-M9">8.0.0-M9 source download</a></li>
- <li>Binary: <a href="http://www.apache.org/dyn/closer.cgi/wicket/8.0.0-M9/binaries">8.0.0-M9 binary download</a></li>
-</ul>
- <a href="/news/2018/02/17/wicket-8.0.0-M9-released.html">Read more...</a>
- </article>
</div>
<div class="l-one-third news">
<h2>Older news</h2>
@@ -306,6 +401,12 @@ title="Atom 1.0 feed" href="/atom.xml">RSS feed</a> to
get updates in your favorite RSS reader the moment they happen.</p>
<ul>
<li>
+ <h3>Apache Wicket 6.29.0 released</h3>
+ <small>21 Feb 2018</small>
+ The Apache Wicket PMC is proud to announce Apache Wicket 6.29.0! Apache Wicket is an open source Java component oriented web application framework that powers...
+ <a href="/news/2018/02/21/wicket-6.29.0-released.html">more</a>
+</li>
+<li>
<h3>Apache Wicket 8.0.0-M9 released</h3>
<small>17 Feb 2018</small>
The Apache Wicket PMC is proud to announce Apache Wicket 8.0.0-M9! Apache Wicket is an open source Java component oriented web application framework that powers...
@@ -329,12 +430,6 @@ get updates in your favorite RSS reader the moment they happen.</p>
The Apache Wicket PMC is proud to announce Apache Wicket 6.28.0! Apache Wicket is an open source Java component oriented web application framework that powers...
<a href="/news/2017/10/01/wicket-6.28.0-released.html">more</a>
</li>
-<li>
- <h3>Apache Wicket 7.9.0 released</h3>
- <small>19 Sep 2017</small>
- The Apache Wicket PMC is proud to announce Apache Wicket 7.9.0! Apache Wicket is an open source Java component oriented web application framework that powers...
- <a href="/news/2017/09/19/wicket-7.9.0-released.html">more</a>
-</li>
</ul>
</div>
<div class="l-first"></div>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/learn/index.html
----------------------------------------------------------------------
diff --git a/content/learn/index.html b/content/learn/index.html
index ae82730..0fe0543 100644
--- a/content/learn/index.html
+++ b/content/learn/index.html
@@ -72,13 +72,13 @@ We also publish a news item on our website with the announcement, and it is also
<p>Here are the most recent headlines:</p>
<ul>
<li>
- <p><a href="/news/2018/02/21/wicket-6.29.0-released.html">Apache Wicket 6.29.0 released</a> <small>21 Feb 2018</small></p>
+ <p><a href="/news/2018/05/22/wicket-8-released.html">Announcing Apache Wicket 8: Write Less, Achieve More</a> <small>22 May 2018</small></p>
</li>
<li>
- <p><a href="/news/2018/02/17/wicket-8.0.0-M9-released.html">Apache Wicket 8.0.0-M9 released</a> <small>17 Feb 2018</small></p>
+ <p><a href="/news/2018/02/21/wicket-6.29.0-released.html">Apache Wicket 6.29.0 released</a> <small>21 Feb 2018</small></p>
</li>
<li>
- <p><a href="/news/2018/02/15/wicket-7.10.0-released.html">Apache Wicket 7.10.0 released</a> <small>15 Feb 2018</small></p>
+ <p><a href="/news/2018/02/17/wicket-8.0.0-M9-released.html">Apache Wicket 8.0.0-M9 released</a> <small>17 Feb 2018</small></p>
</li>
</ul>
<p>The complete articles and all other news items are available in the <a href="/news">archives</a>.</p>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/learn/presentations/wicketIntroduction.pdf
----------------------------------------------------------------------
diff --git a/content/learn/presentations/wicketIntroduction.pdf b/content/learn/presentations/wicketIntroduction.pdf
new file mode 100644
index 0000000..4fd52b4
Binary files /dev/null and b/content/learn/presentations/wicketIntroduction.pdf differ
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2009/07/index.html
----------------------------------------------------------------------
diff --git a/content/news/2009/07/index.html b/content/news/2009/07/index.html
index b2dbf1b..da7fceb 100644
--- a/content/news/2009/07/index.html
+++ b/content/news/2009/07/index.html
@@ -70,6 +70,7 @@ minimum platform, we were able...</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2009/08/index.html
----------------------------------------------------------------------
diff --git a/content/news/2009/08/index.html b/content/news/2009/08/index.html
index 981fef0..9e6aa05 100644
--- a/content/news/2009/08/index.html
+++ b/content/news/2009/08/index.html
@@ -61,6 +61,7 @@ of Apache Wicket 1.4.</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2009/10/index.html
----------------------------------------------------------------------
diff --git a/content/news/2009/10/index.html b/content/news/2009/10/index.html
index 6fea9df..cb841e9 100644
--- a/content/news/2009/10/index.html
+++ b/content/news/2009/10/index.html
@@ -69,6 +69,7 @@ of Apache Wicket 1.4.</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2009/12/index.html
----------------------------------------------------------------------
diff --git a/content/news/2009/12/index.html b/content/news/2009/12/index.html
index 5451c8c..531ca21 100644
--- a/content/news/2009/12/index.html
+++ b/content/news/2009/12/index.html
@@ -70,6 +70,7 @@ caused certain applicat...</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2009/index.html
----------------------------------------------------------------------
diff --git a/content/news/2009/index.html b/content/news/2009/index.html
index c1a12dd..ea11102 100644
--- a/content/news/2009/index.html
+++ b/content/news/2009/index.html
@@ -119,6 +119,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/02/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/02/index.html b/content/news/2010/02/index.html
index b0dd96e..82251c9 100644
--- a/content/news/2010/02/index.html
+++ b/content/news/2010/02/index.html
@@ -57,6 +57,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/03/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/03/index.html b/content/news/2010/03/index.html
index c293363..e221a76 100644
--- a/content/news/2010/03/index.html
+++ b/content/news/2010/03/index.html
@@ -59,6 +59,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/05/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/05/index.html b/content/news/2010/05/index.html
index d7dd87c..b01a51e 100644
--- a/content/news/2010/05/index.html
+++ b/content/news/2010/05/index.html
@@ -79,6 +79,7 @@ fifteen bug fixes and improvements.</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/08/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/08/index.html b/content/news/2010/08/index.html
index 22345de..86cd675 100644
--- a/content/news/2010/08/index.html
+++ b/content/news/2010/08/index.html
@@ -79,6 +79,7 @@ provide our users with a more powerful and flexible request processing pipeline.
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/09/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/09/index.html b/content/news/2010/09/index.html
index aecab05..5e2116f 100644
--- a/content/news/2010/09/index.html
+++ b/content/news/2010/09/index.html
@@ -84,6 +84,7 @@ provide our users with a more powerful and flexible request processing pipeline.
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/11/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/11/index.html b/content/news/2010/11/index.html
index 536e418..94495cc 100644
--- a/content/news/2010/11/index.html
+++ b/content/news/2010/11/index.html
@@ -96,6 +96,7 @@ willing to do the “grunt work” of creating great test cases for his pa...</p
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/12/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/12/index.html b/content/news/2010/12/index.html
index 8e4ecad..f473648 100644
--- a/content/news/2010/12/index.html
+++ b/content/news/2010/12/index.html
@@ -64,6 +64,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2010/index.html
----------------------------------------------------------------------
diff --git a/content/news/2010/index.html b/content/news/2010/index.html
index 85f9c02..82a041e 100644
--- a/content/news/2010/index.html
+++ b/content/news/2010/index.html
@@ -191,6 +191,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/01/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/01/index.html b/content/news/2011/01/index.html
index 7e98899..23daec9 100644
--- a/content/news/2011/01/index.html
+++ b/content/news/2011/01/index.html
@@ -60,6 +60,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/02/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/02/index.html b/content/news/2011/02/index.html
index 5ab1cdb..31078cc 100644
--- a/content/news/2011/02/index.html
+++ b/content/news/2011/02/index.html
@@ -71,6 +71,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/03/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/03/index.html b/content/news/2011/03/index.html
index 6c0a306..58e8aa2 100644
--- a/content/news/2011/03/index.html
+++ b/content/news/2011/03/index.html
@@ -58,6 +58,7 @@ For the past nine months I have been quietly working on a book about Wicket. Unl
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/04/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/04/index.html b/content/news/2011/04/index.html
index ae5d50d..799aaec 100644
--- a/content/news/2011/04/index.html
+++ b/content/news/2011/04/index.html
@@ -71,6 +71,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/05/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/05/index.html b/content/news/2011/05/index.html
index 6185400..5145123 100644
--- a/content/news/2011/05/index.html
+++ b/content/news/2011/05/index.html
@@ -66,6 +66,7 @@ give away a free copy of the ebook version of <a href="http://link.packtpub.com/
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/06/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/06/index.html b/content/news/2011/06/index.html
index 90eaf1f..492eed1 100644
--- a/content/news/2011/06/index.html
+++ b/content/news/2011/06/index.html
@@ -58,6 +58,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/08/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/08/index.html b/content/news/2011/08/index.html
index c57ae2d..15e8b2b 100644
--- a/content/news/2011/08/index.html
+++ b/content/news/2011/08/index.html
@@ -84,6 +84,7 @@ With multi window support application configuration and special query parameters
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/09/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/09/index.html b/content/news/2011/09/index.html
index 43841dc..3120918 100644
--- a/content/news/2011/09/index.html
+++ b/content/news/2011/09/index.html
@@ -70,6 +70,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/10/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/10/index.html b/content/news/2011/10/index.html
index d8e2f83..5b0f045 100644
--- a/content/news/2011/10/index.html
+++ b/content/news/2011/10/index.html
@@ -77,6 +77,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/11/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/11/index.html b/content/news/2011/11/index.html
index 846cb69..6275b1c 100644
--- a/content/news/2011/11/index.html
+++ b/content/news/2011/11/index.html
@@ -64,6 +64,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2011/index.html
----------------------------------------------------------------------
diff --git a/content/news/2011/index.html b/content/news/2011/index.html
index 667203c..4f3ac45 100644
--- a/content/news/2011/index.html
+++ b/content/news/2011/index.html
@@ -215,6 +215,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/01/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/01/index.html b/content/news/2012/01/index.html
index e1931ba..7eea61c 100644
--- a/content/news/2012/01/index.html
+++ b/content/news/2012/01/index.html
@@ -64,6 +64,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/03/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/03/index.html b/content/news/2012/03/index.html
index b3a64a8..6425b9b 100644
--- a/content/news/2012/03/index.html
+++ b/content/news/2012/03/index.html
@@ -112,6 +112,7 @@ This release brings over many improvements over the 1.5.x series.</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/05/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/05/index.html b/content/news/2012/05/index.html
index e36cf7b..cfcbce4 100644
--- a/content/news/2012/05/index.html
+++ b/content/news/2012/05/index.html
@@ -74,6 +74,7 @@ This release brings over many improvements over the 1.5.x series.</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/06/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/06/index.html b/content/news/2012/06/index.html
index 0dc6488..66cfb98 100644
--- a/content/news/2012/06/index.html
+++ b/content/news/2012/06/index.html
@@ -70,6 +70,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/07/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/07/index.html b/content/news/2012/07/index.html
index f24ca47..c0a4e51 100644
--- a/content/news/2012/07/index.html
+++ b/content/news/2012/07/index.html
@@ -63,6 +63,7 @@ be silenced (or learn to li...</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/08/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/08/index.html b/content/news/2012/08/index.html
index af7068b..21e0de4 100644
--- a/content/news/2012/08/index.html
+++ b/content/news/2012/08/index.html
@@ -64,6 +64,7 @@
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/09/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/09/index.html b/content/news/2012/09/index.html
index 0739fcc..c6dcc12 100644
--- a/content/news/2012/09/index.html
+++ b/content/news/2012/09/index.html
@@ -86,6 +86,7 @@ encoded null byte to a URL pointing to a Wicket app. This could be done by...</p
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>
http://git-wip-us.apache.org/repos/asf/wicket-site/blob/9a028310/content/news/2012/10/index.html
----------------------------------------------------------------------
diff --git a/content/news/2012/10/index.html b/content/news/2012/10/index.html
index d8dec27..58a1bd6 100644
--- a/content/news/2012/10/index.html
+++ b/content/news/2012/10/index.html
@@ -74,6 +74,7 @@ with Wicket 6 we u...</p>
<h2>2018</h2>
<ul>
<li><a href="/news/2018">All of 2018</a></li>
+ <li><a href="/news/2018/05">May</a></li>
<li><a href="/news/2018/02">February</a></li>
</ul>
<h2>2017</h2>