Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The current entry point is org.apache.wicket.request.cycle.RequestCycle.processRequestAndDetach().
For now we'll have to wrap this method with try/finally to simulate onBefore/onEnd. (This will be improved for milestone 2)

Exception handling

In Wicket 1.4 it was needed to extend org.apache.wicket.RequestCycle.onRuntimeException(Page, RuntimeException).
Wicket 1.5 gives even better control, by overriding org.apache.wicket.Application.newExceptionMapper() it is possible to change even the default processing of error pagesException handles not like 1.4.x too we should create a new ExceptionMapper class to handle that.

List of renamed classes and methods

...