Example usage for org.apache.wicket.protocol.http WebApplication getHomePage

List of usage examples for org.apache.wicket.protocol.http WebApplication getHomePage

Introduction

In this page you can find the example usage for org.apache.wicket.protocol.http WebApplication getHomePage.

Prototype

public abstract Class<? extends Page> getHomePage();

Source Link

Document

Application subclasses must specify a home page class by implementing this abstract method.

Usage

From source file:net.lacnic.sisregistro.admin.web.login.LogoutPage.java

License:Apache License

public LogoutPage(final PageParameters parameters) {
    super(parameters);
    SisRegistroManagerSession.get().signOut();
    //Redirigir al home page de la aplicacin en donde se ejecute
    WebApplication webApplication = WebApplication.get();
    setResponsePage(webApplication.getHomePage());
}