de.agilecoders.wicket:wicket-bootstrap-themes

wicket with bootstrap integration


License
Apache-2.0

Documentation

WICKET COMPONENTS FOR BOOTSTRAP

Join the chat at https://gitter.im/l0rdn1kk0n/wicket-bootstrap

Wicket-Bootstrap is based on the Bootstrap toolkit and the Apache Wicket Framework.

Branch Build
wicket-10.x-bootstrap-5.x Java CI
wicket-9.x-bootstrap-5.x Java CI
wicket-9.x-bootstrap-4.x Java CI
wicket-8.x-bootstrap-4.x Java CI
Current release version:

Demo

https://wicketbootstrap.teliclab.info/ (courtesy hosted by Shengche Hsiao)

Themes

Extensions

FontAwesome

You can use FontAwesome 5 or 6 with version 6 as the default. To override the default and use FontAwesome 5, override the version of the dependency in your pom.xml:

<dependency>
    <groupId>org.webjars</groupId>
    <artifactId>font-awesome</artifactId>
    <version>5.15.4</version>
</dependency>

For components in bootstrap-extensions that use FontAwesome icons to follow that choice, set the Bootstrap version as follows:

// best place to do this is in Application#init()
FontAwesomeSettings.get(Application.get()).setCssResourceReference(FontAwesome5CssReference.instance());

Maven

wicket-bootstrap is available in Maven central repository.

core maven dependency:

<dependency>
    <groupId>de.agilecoders.wicket</groupId>
    <artifactId>wicket-bootstrap-core</artifactId>
    <version>6.y.z</version>
</dependency>

for all extensions:

<dependency>
    <groupId>de.agilecoders.wicket</groupId>
    <artifactId>wicket-bootstrap-extensions</artifactId>
    <version>6.y.z</version>
</dependency>

for all themes:

<dependency>
    <groupId>de.agilecoders.wicket</groupId>
    <artifactId>wicket-bootstrap-themes</artifactId>
    <version>6.y.z</version>
</dependency>

if you want to use a less compiler:

<dependency>
    <groupId>de.agilecoders.wicket</groupId>
    <artifactId>wicket-bootstrap-less</artifactId>
    <version>6.y.z</version>
</dependency>

all samples can be used with this dependency:

<dependency>
    <groupId>de.agilecoders.wicket</groupId>
    <artifactId>wicket-bootstrap-samples</artifactId>
    <version>6.y.z</version>
</dependency>

Installation

Install bootstrap settings class:

// best place to do this is in Application#init()
Bootstrap.install(this);

// if you want to customize bootstrap:
BootstrapSettings settings = new BootstrapSettings();
settings.setXXX(...);
Bootstrap.install(this, settings);

then you are able to use all wicket-bootstrap components.

Authors

OpenHub profile for Michael Haitz

OpenHub profile for Martin Grigorov

powered by Jetbrains

Bug tracker

Have a bug? Please create an issue here on GitHub!

https://github.com/l0rdn1kk0n/wicket-bootstrap/issues

Versioning

Wicket-Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.

Releases will be numbered with the follow format:

<major>.<minor>.<patch>

And constructed with the following guidelines:

  • Breaking backward compatibility bumps the major
  • New additions without breaking backward compatibility bumps the minor
  • Bug fixes and misc changes bump the patch

For more information on SemVer, please visit http://semver.org/.

Copyright and license

Copyright 2012 AgileCoders.

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.