Create CustomBrowserInfoPage.java

public class CustomBrowserInfoPage extends BrowserInfoPage {
.
.
.
}

Create CustomBrowserInfoPage.html with your html tags.

Then create a custom websession and override newBrowserInfoPage()

public class CustomWebSession extends WebSession{

    @Override
    protected WebPage newBrowserInfoPage() {
        return new CustomBrowserInfoPage();
    }

}

The override newSession() in your application,

    @Override
    public final Session newSession(final Request request, final Response
response) {
        return new CustomWebSession(request);
    }


Hope this helps



--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Override-BrowserInfoPage-tp4499400p4651689.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to