Package de.agilecoders.wicket.core.settings

Examples of de.agilecoders.wicket.core.settings.BootstrapSettings


            throw new RuntimeException("Unable to instantiate Wicket application", e);
        }
    }

    private void initBootstrap() {
        BootstrapSettings settings = new BootstrapSettings();
        Bootstrap.install(this, settings);
    }
View Full Code Here


        IWebjarsSettings settings = new WebjarsSettings();
        WicketWebjars.install(this, settings);
    }

    protected void configureWicketBootstrap() {
        final IBootstrapSettings settings = new BootstrapSettings();
        Bootstrap.install(this, settings);

        getHeaderContributorListenerCollection().add(new IHeaderContributor() {
            @Override
            public void renderHead(IHeaderResponse response) {
View Full Code Here

    @SuppressWarnings("unchecked")
    @Override
    protected void init() {
        super.init();

        BootstrapSettings settings = new BootstrapSettings();
        /*
        TODO figure out how to set the minify in the 0.9.2 version
        settings.minify(true) // use minimized version of all bootstrap references
                .useJqueryPP(true)
                .useModernizr(true)
                .useResponsiveCss(true)
                .getBootstrapLessCompilerSettings().setUseLessCompiler(true);
        */

//        settings.getActiveThemeProvider().setActiveTheme("bootstrap3");

        ThemeProvider themeProvider = new BootswatchThemeProvider() {{
            defaultTheme("bootstrap");
        }};
        settings.setThemeProvider(themeProvider);

//        WicketWebjars.install(this);

        Bootstrap.install(this, settings);

View Full Code Here

    /**
     * configures wicket-bootstrap and installs the settings.
     */
    private void configureBootstrap() {
        final IBootstrapSettings settings = new BootstrapSettings();
        final ThemeProvider themeProvider = new BootswatchThemeProvider(BootswatchTheme.Flatly);

        settings.setJsResourceFilterName("footer-container")
                .setThemeProvider(themeProvider);

        Bootstrap.install(this, settings);
        BootstrapLess.install(this);
    }
View Full Code Here

    protected Class<? extends Page> getHomePage() {
        return Page.class;
    }

    protected IBootstrapSettings createBootstrapSettings() {
        return new BootstrapSettings();
    }
View Full Code Here

    protected Class<? extends Page> getHomePage() {
        return Page.class;
    }

    protected IBootstrapSettings createBootstrapSettings() {
        return new BootstrapSettings();
    }
View Full Code Here

    public static void install(final Application app, IBootstrapSettings settings) {
        Args.notNull(app, "app");

        if (getSettings(app) == null) {
            if (settings == null) {
                settings = new BootstrapSettings();
            }

            app.setMetaData(BOOTSTRAP_SETTINGS_METADATA_KEY, settings);

            if (!WicketJquerySelectors.isInstalled(app)) {
View Full Code Here

        // scan for annotations
        new AnnotatedMountScanner().scanPackage("org.wicketstuff.openlayers3.examples").mount(this);

        // setup wicket boostrap
        BootstrapSettings settings = new BootstrapSettings();
        Bootstrap.install(this, settings);
    }
View Full Code Here

TOP

Related Classes of de.agilecoders.wicket.core.settings.BootstrapSettings

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.