Apache Wicket 7.x
End of life: 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
Wicket 7 gets no more releases, not even security fixes
Plan the move to Wicket 10 LTS. It is supported until Jul 2027. Take one major version at a time:
For the step to 10, the OpenRewrite recipes of wicket-migration do the repetitive part: the jakarta imports, the Java 17 baseline and the moved Wicket classes.
The upgrade paths explain each step and what changes in Java and the Servlet API. If you need help or more time, companies that offer Wicket support are listed on the wiki.
Maven dependency
<!-- Apache Wicket 7.x: Java 7+, Servlet 3.0+ -->
<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 inadd()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
-
Docs
The reference guide for Wicket 7, as one document.
-
Migration guide
Migrating from Wicket 7 to 8: the next step up.
-
API documentation
Javadoc for Wicket 7: every class, method and setting.
Blog posts about Wicket 7
Download
Source and binaries
Most projects get Wicket through Maven or Gradle, with the dependency at the top of this page. To build Wicket yourself, or to use it without a build tool, download the source:
- Download source apache-wicket-7.18.0.tar.gz (PGP, SHA-256 )
- Download source apache-wicket-7.18.0.zip (PGP, SHA-256 )
Or the binaries:
- Download binaries apache-wicket-7.18.0-bin.tar.gz (PGP, SHA-256 )
- Download binaries apache-wicket-7.18.0-bin.zip (PGP, SHA-256 )
Neither package contains the libraries Wicket depends on; a build tool such as Maven or Gradle brings those in.
Verify a download
Check its PGP signature with the keys in the KEYS file, as the ASF explains.
Older releases
The mirrors carry only the latest release of each line in service. Every older release is in the Apache archives.
Change log
What changed in each release of this line is in the change log.
Requirements
The Java and Servlet API versions this line needs are at the top of the page. Some modules need more libraries, such as file upload, date and time APIs or the CDI specification; each module’s POM lists them.
Logging
Wicket logs through SLF4J, so your application needs an SLF4J implementation on the classpath. The SLF4J manual lists them.
Don’t mix Wicket versions
Use one Wicket version for every Wicket module in a project: wicket-core, wicket-extensions, wicket-spring and the others are released together and only work with the same version. Libraries built on Wicket are made for one Wicket line; use the version made for yours.