@Override protected void init() { super.init(); IBootstrapSettings settings = Bootstrap.getSettings(); settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly)); }
@Override protected void init() { super.init(); getDebugSettings().setOutputMarkupContainerClassName(true); getMarkupSettings().setStripWicketTags(true); getDebugSettings().setAjaxDebugModeEnabled(false); IBootstrapSettings settings = Bootstrap.getSettings(); settings.setThemeProvider(new BootswatchThemeProvider(BootswatchTheme.Flatly)); }
@Override public void renderHead(final Component component, final IHeaderResponse response) { super.renderHead(component, response); response.render(CssHeaderItem.forReference(BootstrapPrettifyCssReference.INSTANCE)); References.renderWithFilter( Bootstrap.getSettings(), response, JavaScriptHeaderItem.forReference(BootstrapPrettifyJavaScriptReference.INSTANCE)); response.render( OnDomReadyHeaderItem.forScript(createInitializerScript(component.getMarkupId(true)))); }
@Override public Iterable<? extends HeaderItem> getDependencies() { return Dependencies.combine( super.getDependencies(), JavaScriptHeaderItem.forReference(Bootstrap.getSettings().getJsResourceReference())); }