/gwalidate

Lightweight client-side GWT validation framework

Primary LanguageJava

GWalidate

GWalidate is a simple and lightweight client-side GWT validation framework.
It aims to address the shortcomings of the GWT's built-in javax.validation.* support allowing the client code to specify extended validation configurations in a per-widget manner.

Project Pages:
http://alextby.github.io/gwalidate/

Key Features

- Per-widget style of configuration - Dynamic/programmatic configuration and control - Cross-field validation rules - Faily easy to integrate in a typical GWT view; little extra code required - A number of basic validation rules bundled - GIN-powered

TODO

- Add support for rule priorities - Redesign the internal widget validation states with a finite-state automata

Build Instructions

- `gwalidate-playground` has `-P dev` for faster developer builds (less permutations and tests skipped) - GWT 2.7 is currently the target version. GWT 2.8 is not (yet) supported.

Standalone Demo

Is for looking into the usage details of the framework. Steps to launch at localhost: ```sh mvn clean install cd gwalidate-playground/ mvn jetty:deploy-war ``` check out http://localhost:10008/