Play-DataTables

A PlayFramework abstraction to parse queries from JavaScript library DataTables

Лицензия

Лицензия

Категории

Категории

Данные Jackson JSON
Группа

Группа

com.jackson42.play
Идентификатор

Идентификатор

play-datatables
Последняя версия

Последняя версия

21.04u1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Play-DataTables
A PlayFramework abstraction to parse queries from JavaScript library DataTables
Ссылка на сайт

Ссылка на сайт

https://github.com/PierreAdam/play-datatables
Система контроля версий

Система контроля версий

https://github.com/PierreAdam/play-datatables/tree/master

Скачать play-datatables

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.jackson42.play/play-datatables/ -->
<dependency>
    <groupId>com.jackson42.play</groupId>
    <artifactId>play-datatables</artifactId>
    <version>21.04u1</version>
</dependency>
// https://jarcasting.com/artifacts/com.jackson42.play/play-datatables/
implementation 'com.jackson42.play:play-datatables:21.04u1'
// https://jarcasting.com/artifacts/com.jackson42.play/play-datatables/
implementation ("com.jackson42.play:play-datatables:21.04u1")
'com.jackson42.play:play-datatables:jar:21.04u1'
<dependency org="com.jackson42.play" name="play-datatables" rev="21.04u1">
  <artifact name="play-datatables" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.jackson42.play', module='play-datatables', version='21.04u1')
)
libraryDependencies += "com.jackson42.play" % "play-datatables" % "21.04u1"
[com.jackson42.play/play-datatables "21.04u1"]

Зависимости

provided (2)

Идентификатор библиотеки Тип Версия
com.typesafe.play : play-java_2.12 jar 2.8.7
com.typesafe.play : play-java-forms_2.12 jar 2.8.7

test (4)

Идентификатор библиотеки Тип Версия
org.junit.jupiter : junit-jupiter-api jar 5.7.1
org.junit.jupiter : junit-jupiter-engine jar 5.7.1
ch.qos.logback : logback-classic jar 1.2.3
com.github.javafaker : javafaker jar 1.0.2

Модули Проекта

Данный проект не имеет модулей.

Play-DataTables

Latest release Codacy Badge Code Climate maintainability Codecov Snyk Vulnerabilities JDK Build Status GitHub license

Play-DataTables is a library for play framework that allows you to easily integrate DataTables in your PlayFramework project.

This library is providing an abstraction for the DataTables requests. It is not recommended to directly utilize this library as it's the base for other libraries that implements some data providers.

List of the current data providers :


Build the library and local deployment

$> mvn compile
$> mvn package
$> mvn install

Install or deploy

To install in your local repository.

$> mvn install

To deploy to a remote repository.

$> mvn verify
$> mvn deploy -P release

How to import the library

With Sbt

libraryDependencies += "com.jackson42.play" % "play-datatables" % "21.04u1"

With Maven

<dependency>
    <groupId>com.jackson42.play</groupId>
    <artifactId>play-datatables</artifactId>
    <version>21.04u1</version>
</dependency>

Implementing a data provider for Play-DataTables

Example of implementation is available in the tests. For a more concrete example, take a look at play-ebean-datatables

Versions

Library Version Play Version Tested DataTables Version
21.04u1 2.8.x 1.10.x
21.04 2.8.x 1.10.x
21.03 2.8.x 1.10.x

Changelog

21.04u1

  • Patch NPE when a value is at null in the entity.

21.04

  • Add a new concept of converters that allow to have a custom object being displayed properly by Play DataTables.
  • Refactoring of some complicated part of the code.
  • Compilation is now made to be done with Java 11 but compiled for Java 1.8.

License

This project is released under terms of the MIT license.

Версии библиотеки

Версия
21.04u1
21.04
21.03