wicket-daterangepicker

DateRangePicker plugin for Wicket

License

License

Categories

Categories

Wicket User Interface Web Frameworks
GroupId

GroupId

com.code-troopers
ArtifactId

ArtifactId

wicket-daterangepicker
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

jar
Description

Description

wicket-daterangepicker
DateRangePicker plugin for Wicket
Source Code Management

Source Code Management

https://github.com/code-troopers/wicket-daterangepicker

Download wicket-daterangepicker

How to add to project

<!-- https://jarcasting.com/artifacts/com.code-troopers/wicket-daterangepicker/ -->
<dependency>
    <groupId>com.code-troopers</groupId>
    <artifactId>wicket-daterangepicker</artifactId>
    <version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/com.code-troopers/wicket-daterangepicker/
implementation 'com.code-troopers:wicket-daterangepicker:0.2'
// https://jarcasting.com/artifacts/com.code-troopers/wicket-daterangepicker/
implementation ("com.code-troopers:wicket-daterangepicker:0.2")
'com.code-troopers:wicket-daterangepicker:jar:0.2'
<dependency org="com.code-troopers" name="wicket-daterangepicker" rev="0.2">
  <artifact name="wicket-daterangepicker" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.code-troopers', module='wicket-daterangepicker', version='0.2')
)
libraryDependencies += "com.code-troopers" % "wicket-daterangepicker" % "0.2"
[com.code-troopers/wicket-daterangepicker "0.2"]

Dependencies

compile (3)

Group / Artifact Type Version
org.apache.wicket : wicket-core jar [6.0.0,6.8.0]
de.agilecoders.wicket.webjars : wicket-webjars jar 0.2.0
org.codehaus.jackson : jackson-mapper-asl jar 1.9.12

provided (1)

Group / Artifact Type Version
org.eclipse.jetty.aggregate : jetty-all-server jar 8.1.10.v20130312

test (3)

Group / Artifact Type Version
org.slf4j : slf4j-log4j12 jar 1.7.5
log4j : log4j jar 1.2.17
junit : junit jar 4.11

Project Modules

There are no modules declared in this project.

Wicket DateRangePicker integration

Thanks to Cloudbees buildhive for providing a free Jenkins instance. Build Status

Bootstrap-DateRangePicker is a client-side evolved DatePicker .

Apache Wicket is a Java Web framework providing clean separation between markup and logic.

This project contains a basic integration between Bootstrap-DateRangePicker and Apache Wicket.

Setup on your project

Add the following Maven dependency

<dependency>
    <groupId>com.code-troopers</groupId>
    <artifactId>wicket-daterangepicker</artifactId>
    <version>0.2</version>
</dependency>

To use it in your Wicket application, you will need to attach the DateRangePickerBehavior to a TextField component.

You can customize the whole set of options provided by the default Bootstrap-DateRangePicker javascript plugin by overriding DateRangePickerBehavior#getPickerOptions() method.

JavaScript dependencies

This library depends on momentjs via the artifact deployed on Webjars. This way you can easily use an updated version of the library in your project. Please notice that the actual version of momentjs deployed on WebJars is missing locale translations, this project includes the french locale.

Bug tracker

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

https://github.com/code-troopers/wicket-daterangepicker/issues

Special notes

Thanks to James Ward for the Webjars.org initiative : http://www.jamesward.com/2012/10/31/webjars-officially-launched.

The implementation provided here is open for pull request or further integration into WicketStuff.

Copyright and license

Copyright 2012 Code-Troopers.

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.

com.code-troopers

Code-Troopers

Versions

Version
0.2
0.1