How-to guides
Directions for a specific goal.
- Handle exceptions and show error pages Replace Wicket's error pages, choose what users see after an unexpected exception, and map your own exceptions and HTTP errors to pages.
- Handle a callback URL with IRequestListener Let a component or behavior answer requests to a URL of its own, read parameters from the request, and respond with the page or anything else.
- Send events between components Let a component notify others on the page without holding references to them, with send(), onEvent() and a payload class.
- Configure a module with an initializer Let a jar configure every Wicket application it is added to, with an IInitializer registered through the Java ServiceLoader.
Reference
The classes, tags and settings, described.
- Component lifecycle The stages a component goes through and every hook method Wicket calls on it, in order, with who calls it and when.
- Request processing The objects that serve a request, the steps of RequestCycle in order, the request cycle listener hooks, and the request handlers Wicket ships.
Explanation
Why Wicket works the way it does.
- What happens during a request How Wicket turns an HTTP request into a request handler, runs it, and cleans up afterwards, and why it is built that way.