Example usage for org.apache.wicket.devutils.debugbar DebugBar add

List of usage examples for org.apache.wicket.devutils.debugbar DebugBar add

Introduction

In this page you can find the example usage for org.apache.wicket.devutils.debugbar DebugBar add.

Prototype

public MarkupContainer add(final Component... children) 

Source Link

Document

Adds the child component(s) to this container.

Usage

From source file:de.inren.frontend.common.templates.TemplatePage.java

License:Apache License

@Override
protected void onInitialize() {
    super.onInitialize();
    add(new HtmlTag("html"));

    add(new MetaTag("viewport", Model.of("viewport"), Model.of("width=device-width, initial-scale=1.0")));
    add(new ChromeFrameMetaTag("chrome-frame"));
    add(new MetaTag("description", Model.of("description"), Model.of("InRen")));
    add(new MetaTag("author", Model.of("author"), Model.of("Ingo Renner <ingo@inren.de>")));

    DebugBar debugBar = new DebugBar("debug");
    debugBar.add(AttributeModifier.append("style", "z-index:2000;"));
    add(debugBar);/*  ww  w .ja  v  a  2s.  c o m*/

    Navbar navbar = createNavbar("navbar");
    navbar.add(AttributeModifier.append("style", "padding-top: 20px;"));
    add(navbar);

    add(new Footer("footer"));

    add(getLeftComponent("left"));

    add(new FeedbackPanel("feedbackPanel").setOutputMarkupId(true));

    add(new BootstrapBaseBehavior());
}