In the init() method of your application class :

final BootstrapSettings settings = new BootstrapSettings();
//add theme (optional)
settings.setThemeProvider(new
SingleThemeProvider(BootswatchTheme.CERULEAN));
Bootstrap.install(this, settings);


In your page class :
 @Override
    public void renderHead(final IHeaderResponse response) {
        super.renderHead(response);
        Bootstrap.renderHead(response);
        // font-awesome (optional)
       
response.render(CssHeaderItem.forReference(FontAwesomeCssReference.instance()));
    }

Then you should have all the css and js needed in your page.

regards,
Gabriel.

--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-Bootstrap-Question-tp4663565p4663591.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to