Java Code Examples for de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel

The following are top voted examples for showing how to use de.agilecoders.wicket.core.markup.html.bootstrap.tabs.AjaxBootstrapTabbedPanel. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: syncope   File: Realm.java   View source code 6 votes vote down vote up
public Realm(final String id, final RealmTO realmTO, final PageReference pageRef, final int selectedIndex) {
    super(id, true);
    this.realmTO = realmTO;
    this.anyTypes = new AnyTypeRestClient().listAnyTypes();

    setPageRef(pageRef);

    AjaxBootstrapTabbedPanel<ITab> tabbedPanel =
            new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList(pageRef));
    tabbedPanel.setSelectedTab(selectedIndex);
    addInnerObject(tabbedPanel);
    this.wizardBuilder = new RealmWizardBuilder(pageRef);
    addNewItemPanelBuilder(this.wizardBuilder, false);

    setShowResultPage(true);

    modal.size(Modal.Size.Large);
    setWindowClosedReloadCallback(modal);
}
 
Example 2
Project: syncope   File: Implementations.java   View source code 5 votes vote down vote up
public Implementations(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.setMarkupId("implementations");
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 3
Project: syncope   File: Administration.java   View source code 5 votes vote down vote up
public Administration(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.setMarkupId("administration");
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 4
Project: syncope   File: Types.java   View source code 5 votes vote down vote up
public Types(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 5
Project: syncope   File: Dashboard.java   View source code 5 votes vote down vote up
public Dashboard(final PageParameters parameters) {
    super(parameters);

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 6
Project: syncope   File: Logs.java   View source code 5 votes vote down vote up
public Logs(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));
    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 7
Project: syncope   File: Policies.java   View source code 5 votes vote down vote up
public Policies(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.setMarkupId("policies");
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 8
Project: syncope   File: Notifications.java   View source code 5 votes vote down vote up
public Notifications(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.setMarkupId("notifications");
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 9
Project: syncope   File: Reports.java   View source code 5 votes vote down vote up
public Reports(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.setMarkupId("reports");
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}
 
Example 10
Project: syncope   File: CamelRoutes.java   View source code 5 votes vote down vote up
public CamelRoutes(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    AjaxBootstrapTabbedPanel<ITab> tabbedPanel = new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList());
    content.add(tabbedPanel);

    MetaDataRoleAuthorizationStrategy.authorize(content, ENABLE, CamelEntitlement.ROUTE_LIST);
    body.add(content);
}
 
Example 11
Project: syncope   File: SAML2SP.java   View source code 5 votes vote down vote up
public SAML2SP(final PageParameters parameters) {
    super(parameters);

    body.add(BookmarkablePageLinkBuilder.build("dashboard", "dashboardBr", Dashboard.class));

    WebMarkupContainer content = new WebMarkupContainer("content");
    content.setOutputMarkupId(true);
    content.add(new AjaxBootstrapTabbedPanel<>("tabbedPanel", buildTabList()));
    body.add(content);
}