Apache Wicket

User guide

Building web applications with Apache Wicket 10 and 11.

Start here

Five lessons that build one application, from an empty project to a tested page with Ajax.

  1. 01 Build your first application Generate a project from the quickstart, run it, and build a home page with a label, a click counter and a link to a second page.
  2. 02 Give every page the same layout Move the header, navigation and footer of your application into a base page and two panels, so every page shares one layout.
  3. 03 Build a form that saves data Add a guestbook page with a form that validates its input, saves entries and lists them, and shows errors and a confirmation.
  4. 04 Update a page with Ajax Make the click counter and the guestbook form update only the parts of the page that change, open the form without a reload, and refresh the guestbook every ten seconds.
  5. 05 Test a page with WicketTester Write JUnit tests that render your pages, click links, submit the guestbook form and check Ajax updates, without a browser or a server.

Topics

Each topic gathers its lessons, how-to guides, reference and explanation on one page.

Look it up

The reference pages readers return to, and an index of every class the guide explains.

Older versions

The guide covers the release lines in service. Pages marked with a version, like Wicket 11+, need that version or later. For lines out of service, use their single-page guide: Wicket 9, Wicket 8, Wicket 7.