Java WebForm Library: HTML Form generation and validation
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
doc Corrected Versions Nov 27, 2018
jwebform-integration Corrected build-path (parent) Nov 26, 2018
jwebform-spring-boot-starter
jwebform-themes
jwebform Corrected build-path (parent) Nov 26, 2018
.gitignore Move subprojects in central repo Sep 12, 2018
LICENSE Initial commit May 29, 2017
README.md Update documentaiton Nov 29, 2018
eclipse-java-google-style.xml apply to newest styleguide Oct 23, 2017
pom.xml Add spring boot again Nov 26, 2018
questions.txt
todo.txt Align theming with Bootstrap 4 Dec 2, 2018
travis-settings.xml Release specifics Aug 17, 2018

README.md

jWebForm

HTML forms in Java made easy. Independent of Web-Frameworks.

(Please be aware, that this is beta software. API can still change in a greater detail. Wait for the version 1.0.0 to adapt it.)

Quickstart

Documentation

Changelog

Overview

With jWebform you can define HTML forms in a clean way, fill them with request-variables, validate and build HTML out of them. It gets you away from the tedious work around form handling in HTML projects. It is framework agnostic, so it should work with every Java/Kotlin... Webframework around.

Form-handling support in current Java MVC frameworks is often basic. jWebForm tries to fill this gap by providing these features:

  • central form-definition for reuse and separation of concerns
  • avoiding a lot of boilerplate code
  • allow to handle the generic rendering of html for the form
  • build in validation and security

More here: Overview Features

jWebForm is for java what Symfony-Forms is for PHP or Rose::HTML for Perl.

Example project (Spring-Web MVC):

https://github.com/jochen777/jWebFormSpringBoot2Thymeleaf

When to use it

jWebForm can be used everywhere you have to implement HTML or Ajax HTML-Forms. Especially useful:

  • When you define Forms in a generic way (in a CMS, where users can define Forms)
  • When you have a lot of forms
  • When you have form based web-apps
  • When you have to implement professional, good looking HTML-Forms but don' want to spend much time for it.

Maven Dependency

...
<dependency>
    <groupId>de.cyclon-softworx</groupId>
    <artifactId>jWebForm</artifactId>
    <version>0.0.11</version> <!-- check on maven central for the latest version -->
</dependency>
...

A note about jFormchecker

What about jFormChecker? After a few months in production, I realised some points to improve and wanted to change the name, so I just rewrote it. jWebForm is jFormchecker2.

Improvements over jFormchecker

Documentation

Documentation

Requirements

Java 8 required.

Thanks

Thanks to Arman Sharif for his work on jreform.sourceforge.net and the great Critera Classes