jformchecker

jFormchecker is a library to build HTML forms on top of MVC frameworks.

License

License

MIT
Categories

Categories

ORM Data
GroupId

GroupId

de.cyclon-softworx
ArtifactId

ArtifactId

jformchecker
Last Version

Last Version

0.1.17
Release Date

Release Date

Type

Type

jar
Description

Description

jformchecker
jFormchecker is a library to build HTML forms on top of MVC frameworks.
Project URL

Project URL

https://github.com/jochen777/jFormchecker
Source Code Management

Source Code Management

https://github.com/jochen777/jFormchecker.git

Download jformchecker

How to add to project

<!-- https://jarcasting.com/artifacts/de.cyclon-softworx/jformchecker/ -->
<dependency>
    <groupId>de.cyclon-softworx</groupId>
    <artifactId>jformchecker</artifactId>
    <version>0.1.17</version>
</dependency>
// https://jarcasting.com/artifacts/de.cyclon-softworx/jformchecker/
implementation 'de.cyclon-softworx:jformchecker:0.1.17'
// https://jarcasting.com/artifacts/de.cyclon-softworx/jformchecker/
implementation ("de.cyclon-softworx:jformchecker:0.1.17")
'de.cyclon-softworx:jformchecker:jar:0.1.17'
<dependency org="de.cyclon-softworx" name="jformchecker" rev="0.1.17">
  <artifact name="jformchecker" type="jar" />
</dependency>
@Grapes(
@Grab(group='de.cyclon-softworx', module='jformchecker', version='0.1.17')
)
libraryDependencies += "de.cyclon-softworx" % "jformchecker" % "0.1.17"
[de.cyclon-softworx/jformchecker "0.1.17"]

Dependencies

compile (1)

Group / Artifact Type Version
com.coverity.security : coverity-escapers jar 1.1.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

jFormChecker

HTML Forms in Java made easy.

Please be aware, that this project will not be maintained by me any longer.

I created a successor which is far better:

https://github.com/jochen777/jWebForm

and: https://github.com/jochen777/jWebForm/blob/master/doc/jformchecker_compare.md

Quickstart

Documentation

See changelog

Build Status

Overview

The form-handling support in current java MVC frameworks is very basic. jFormChecker tries to fill this gap by providing these features:

  • central form-definition for reuse and separation of concerns
  • handling the request-response loop for forms
  • handling error-messages and error-highlighting of the label
  • correct tab-order
  • pre-fillments of form-elements
  • automatically syntactical correct HTML (5) with label and "label-for"
  • pre-fillments of user-input after submit
  • max-lenght constraint on every element to avoid security issues
  • easy validation, easy custom validation
  • all standard form fields and more (date-input)
  • very compact output in sourcecode
  • prebuild Bootstrap Styles
  • prebuild ajax handling
  • avoiding a lot of boilerplate code
  • translateable error-messages.
  • minimal dependencies!

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

See this project for integration into servlet-based frameworks:

https://github.com/jochen777/jformchecker-integration

The jFormChecker way

The concept is simple:

  1. Define a form with every element in it

  2. Let the central "FormChecker" class handle the validation and processing

  3. use a simple tag in the output

Maven Dependency

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

Thanks

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

Versions

Version
0.1.17
0.1.16
0.1.15
0.1.14
0.1.13
0.1.12
0.1.11
0.1.10
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.6
0.0.5
0.0.4
0.0.3
0.0.2
0.0.1