Example usage for org.apache.wicket.authroles.authentication.panel SignInPanel addOrReplace

List of usage examples for org.apache.wicket.authroles.authentication.panel SignInPanel addOrReplace

Introduction

In this page you can find the example usage for org.apache.wicket.authroles.authentication.panel SignInPanel addOrReplace.

Prototype

public MarkupContainer addOrReplace(final Component... children) 

Source Link

Document

Replaces a child component of this container with another or just adds it in case no child with the same id existed yet.

Usage

From source file:org.jabylon.rest.ui.security.LoginPage.java

License:Open Source License

public LoginPage(PageParameters parameters) {
    super(parameters);
    SignInPanel panel = new BootstrapSignInPanel("sign-in", true);
    panel.setRememberMe(false);//from w  ww  . ja v  a2s  . c  om
    panel.addOrReplace(new Label("feedback", ""));
    add(panel);
}