Dandelion is an after-dinner project which comes first from Datatables-taglib, a first attempt to write a JSP taglib allowing to generate HTML tables improved by DataTables.
Then the project evolved to become DataTables4j, a second attempt to write a more featured library, but this time almost capable of competing with Displaytag, the reference for displaying HTML tables in Java-based web applications.
The project has continued to evolve but with the a recurring observation: the web asset management (js, css, ...) can often become a hell of a job in web apps. That's why we took those 3 decisions:
In many ways actually:
You have several options:
Not yet. You may consider Dandelion (and any of its component) as production-ready as soon as a v1.0.0 is released.
Whichever module is being developed, a snapshot release is always built as soon as a commit is pushed in its GitHub repository. You can of course use it, for testing purposes. It will allow you to try new features or specific bug fixes.
In order to use snapshot releases, you need to add the Sonatype OSS Snapshots repository in your Maven pom.xml
file, as follows:
<repositories> <repository> <id>sonatype-nexus-snapshots</id> <name>Sonatype Nexus Snapshots</name> <url>https://oss.sonatype.org/content/repositories/snapshots</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories>
Also, you will have to update the dependencies. If the version under development is the 0.9.0, you will have to modify the versions like this:
<dependencies> ... <dependency> <groupId>com.github.dandelion</groupId> <artifactId>datatables-jsp</artifactId> <version>0.9.0-SNAPSHOT</version> </dependency> <dependency> <groupId>com.github.dandelion</groupId> <artifactId>datatables-servlet2</artifactId> <version>0.9.0-SNAPSHOT</version> </dependency> ... </dependencies>
No you can't. With DOM sources (i.e. when you set some
collection in the page scope), the creation of the
table
HTML tag and all its content is entirely managed by
Dandelion-Datatables.
Whereas when using AJAX sources, Dandelion-Datatables is limited to the thead section of the table. The creation of the tbody section of the table is delegated to DataTables.
All the tag references display a "Data source compatibility" column, helping you to choose the right attribute, depending on the data source you use.