public class BootstrapThemeThemeCssReference
extends de.agilecoders.wicket.webjars.request.resource.WebjarsCssResourceReference
The BootstrapThemeThemeCssReference uses the latest version of bootstrap-theme.css from the org.webjars.bootstrap dependency which is defined in pom.xml. This reference has a dependency to base bootstrap css reference, but there will be no version conflicts between this reference and the bootstrap.css from BootstrapCssReference because both will are loaded from same jar file.
this css resource reference can be used directly: java
response.render(CssHeaderItem.forReference(BootstrapThemeThemeCssReference.instance()));
or together with bootstrap theme:
settings.setThemeProvider(new SingleThemeProvider(new BootstrapThemeTheme()));
| Modifier and Type | Method and Description |
|---|---|
Iterable<? extends org.apache.wicket.markup.head.HeaderItem> |
getDependencies() |
static BootstrapThemeThemeCssReference |
instance() |
getLocale, getOriginalName, getStyle, getVariation, toStringgetMinifiedName, getName, getUrlAttributes, removeCompressFlagIfUnnecessarypublic static BootstrapThemeThemeCssReference instance()
BootstrapThemeThemeCssReferencepublic Iterable<? extends org.apache.wicket.markup.head.HeaderItem> getDependencies()
getDependencies in class org.apache.wicket.request.resource.ResourceReferenceCopyright © 2011–2014 AgileCoders. All rights reserved.