Versions Compared

Key

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

...

In order to stay with the times, we have upgraded the minimal requirements for servlet specifications to servlet API 2.5.

(RC1) Maven users are recommended to depend on org.apache.wicket:wicket

...

:

...

pom from now on

(RC2) All standard (form) validators now extend Behavior.

...

Code Block
titleIRequestCycleListener
borderStylesolid
public class SomeWebApplication extends WebApplication
{

	@Override
	protected void init()
	{
		addRequestCycleListenergetRequestCycleListeners().add(new IRequestCycleListener()
		{

			public void onException(Exception ex)
			{
				// do something here whene there's an exception
			}

			public void onEndRequest()
			{
				// do something at the end of the request
			}

			public void onBeginRequest()
			{
				// do something at the beginning of the request
			}
		});
	}

	@Override
	public Class<? extends Page> getHomePage()
	{
		return SomePage.class;
	}
}

...