throw new RestartResponseException(Application.get().getHomePage());
}
try {
add(wizard = new InstallWizard("wizard"));
// This code is required to detect time zone offset
add(new AjaxClientInfoBehavior() {
private static final long serialVersionUID = 1L;
@Override
protected void onClientInfo(AjaxRequestTarget target, WebClientInfo clientInfo) {
super.onClientInfo(target, clientInfo);