Release lines

Apache Wicket 7.x

Out of service: no more releases, not even security fixes.

Latest release
7.18.0
Status
End of life
Supported
No longer supported
Java
7 or newer
Servlet API
Servlet 3.0 or newer

Move to a line in service: the upgrade paths show the route from Wicket 7.

Maven dependency

<dependency>
    <groupId>org.apache.wicket</groupId>
    <artifactId>wicket-core</artifactId>
    <version>7.18.0</version>
</dependency>

New in Wicket 7

  • Java 7

    Wicket 7 requires Java 7 and Servlet 3.0.

    Java
    7
    Servlet
    3.0
  • Component queuing

    queue() lets the markup decide where a component goes. Queue components in any order, and Wicket nests them the way the markup does, instead of mirroring the markup hierarchy in add() calls.

    HomePage.java

    queue(new Form<Void>("form"));
    queue(new TextField<String>("name"));
    queue(new Label("greeting", "Hello"));
    
  • CSRF protection

    Wicket bundles a measure against cross-site request forgery that checks the origin of requests to your pages.

    WicketApplication.java

    getRequestCycleListeners()
        .add(new CsrfPreventionRequestCycleListener());
    
  • Inline images

    Images can be embedded in the page itself with the data: protocol, saving a request per image.

Documentation

News about Wicket 7

All posts on the blog

Download

The most recent release in this branch is: 7.18.0. You can get the release using Maven or download it manually.

Download manually

Use the following links to download Wicket manually to build Wicket from source:

Or use the following links to get the pre-packaged binaries instead:

Note that the binary packages and the source packages don’t contain any dependencies necessary to have your project working out of the box. We strongly urge you to use Maven (or Buildr, or Gradle) as your dependency management system.

Verify distribution’s signature

PGP signatures can be verified as described on this page. The public key used to sign Wicket distributions can be found in the KEYS file.

Older releases

The Apache mirroring system only hosts the latest version of each actively supported branch. When you need to download an older release you can find them in the archives.

Go to the Apache archives to find your specific version.

Change log

To see what changed in these releases you can read the change log.

Requirements

Apache Wicket has few requirements in order to work properly. In this section you’ll find the minimum requirements for all Wicket modules. Specific modules may need additional libraries, such as file upload, date time APIs, CDI specifications, and more. See the module’s POM for more details on the necessary libraries.

Java version

This Wicket version requires at least the following Java version: JDK 7.0 or newer.

Not only is a particular version of Java necessary, Wicket also needs access to specific APIs.

Servlet API

This Wicket version requires at least the following Servlet API version: Servlet API 3.0 or newer. This is provided by your container, please see the documentation of your container to see which version of the Servlet specification is supported.

In addition to the Servlet API, Wicket uses SLF4J to let you choose your own implementation of a logging framework.

Logging

You cannot use Wicket without adding an SLF4J logging implementation to your classpath. Most people use log4j.

If you do, just include slf4j-log4j12.jar on your classpath to get Wicket to use log4j too. If you want to use commons-logging or JDK14 logging or something else, please see the SLF4J site for more information.

Don’t mix Wicket versions

You cannot mix different Wicket versions in your project. You should always use the artifacts from a particular release. For example it is not possible to use Wicket Extensions 1.5 in a Wicket 6 project, or Wicket CDI 6.19 in a Wicket 7 project. The same goes for 3rd party libraries: make sure you always use a compatible version of your 3rd party library.

Migrating from earlier versions

If you are migrating an existing application from earlier versions of Wicket you may find our migration guides invaluable: